Add new example
This commit is contained in:
parent
9fac1514c9
commit
6fbe4f5a9a
2 changed files with 7 additions and 2 deletions
|
@ -8,7 +8,11 @@ module Mm2ep
|
|||
token :L_PAR, /\(/
|
||||
token :R_PAR, /\)/
|
||||
token :NUMBER, /[0-9]+(\.[0-9]+)?/
|
||||
token :STRING, /"[^"]*"/
|
||||
token :STRING, /"([^"]*)"/ do |s|
|
||||
s.value.gsub!(/"(.*)"/,'\1')
|
||||
s
|
||||
end
|
||||
|
||||
token :EQ_OP, /\=/
|
||||
token :T_BOOL, /true/i
|
||||
token :F_BOOL, /false/i
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
truc bidule
|
||||
|
||||
( a_girl_has_no_name = true ) AND ( character = "Arya Stark" )
|
||||
|
|
Loading…
Reference in a new issue