summaryrefslogtreecommitdiff
path: root/regex.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-19 03:25:00 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-19 03:25:00 +0000
commitb8986bfdd69e54a1cd5ac9a51ebc6fc49446f8a1 (patch)
treebeffeec2bc756a18cac1bd95041caabf246ad307 /regex.c
parent08a0727577e23ee55ce0eb09a78826f7f7642411 (diff)
downloadruby-b8986bfdd69e54a1cd5ac9a51ebc6fc49446f8a1.tar.gz
regex fixed for (?m)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex.c b/regex.c
index 0e8210a5d0..5e5292d24d 100644
--- a/regex.c
+++ b/regex.c
@@ -1652,7 +1652,7 @@ re_compile_pattern(pattern, size, bufp)
int negative = 0;
PATFETCH_RAW(c);
switch (c) {
- case 'x': case 'p': case 'i': case '-':
+ case 'x': case 'p': case 'm': case 'i': case '-':
for (;;) {
switch (c) {
case '-':