changed handling of generalized string literals
This commit is contained in:
parent
77d045b3ac
commit
134f24f579
10 changed files with 76 additions and 39 deletions
|
|
@ -6,7 +6,8 @@ import
|
|||
|
||||
if "keyA = valueA" =~ re"\s*(\w+)\s*\=\s*(\w+)":
|
||||
write(stdout, "key: ", matches[0])
|
||||
elif "# comment!" =~ re"\s*(\#.*)":
|
||||
elif "# comment!" =~ re.re"\s*(\#.*)":
|
||||
# test re.re"" syntax
|
||||
echo("comment: ", matches[0])
|
||||
else:
|
||||
echo("Bug!")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue