aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2013-07-21 19:38:43 +0200
committerDrahflow <drahflow@gmx.de>2013-07-21 19:38:43 +0200
commit60bfb0e64e57a3e923e98264f799bac020fb2338 (patch)
tree5e1b1787875836c5bc459f15601da69a43e879d4
parent93570552dac6b9d2a199782fbdeccdbb5f43b2c9 (diff)
Correctly handle escape within classes
-rw-r--r--examples/working/regex.ey3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/working/regex.ey b/examples/working/regex.ey
index 0cd916a..c746667 100644
--- a/examples/working/regex.ey
+++ b/examples/working/regex.ey
@@ -1,3 +1,6 @@
+"\"include\" dump\n" "([^\\n]*)\\n(.*)" regex
+dump dump dump
+
"the quick brown fox jumps over the lazy dog"
{ "(the)(.*)" regex } { dump } loop
"abcdefghijklmnopqrstuvwxyz"