summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-10-13 22:03:37 +0000
committerThierry Vignaud <tv@mageia.org>2012-10-13 22:03:37 +0000
commitc27713a0e529dbac9468aa4a5561585a86e19942 (patch)
treeaf7512ee535ce4a8f41372058b1e3a8bdb87c035 /src
parent98b2f1cffab85200a1ab5c7bebd15cac0c22fb82 (diff)
downloadperl_checker-c27713a0e529dbac9468aa4a5561585a86e19942.tar
perl_checker-c27713a0e529dbac9468aa4a5561585a86e19942.tar.gz
perl_checker-c27713a0e529dbac9468aa4a5561585a86e19942.tar.bz2
perl_checker-c27713a0e529dbac9468aa4a5561585a86e19942.tar.xz
perl_checker-c27713a0e529dbac9468aa4a5561585a86e19942.zip
recognize /r modifier for regexpes
Diffstat (limited to 'src')
-rw-r--r--src/lexer.mll2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lexer.mll b/src/lexer.mll
index 07bd825..d4fc3d5 100644
--- a/src/lexer.mll
+++ b/src/lexer.mll
@@ -1028,7 +1028,7 @@ and delimited_string_interpolate_array = parse
}
and pattern_options = parse
-| [ 'g' 'i' 'm' 'o' 's' 'x' 'e' 'd' ] { next pattern_options lexbuf }
+| [ 'g' 'i' 'm' 'o' 's' 'x' 'e' 'd' 'r' ] { next pattern_options lexbuf }
| _ { putback lexbuf 1; () }
and pod_command = parse