diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/accept/run/tregex.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/accept/run/tregex.nim b/tests/accept/run/tregex.nim index 43dc8f99c..882f98132 100755 --- a/tests/accept/run/tregex.nim +++ b/tests/accept/run/tregex.nim @@ -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!") |