1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

regex fixed for (?m)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2000-05-19 03:25:00 +00:00
parent 08a0727577
commit b8986bfdd6

View file

@ -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 '-':