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:
parent
08a0727577
commit
b8986bfdd6
1 changed files with 1 additions and 1 deletions
2
regex.c
2
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 '-':
|
||||
|
|
Loading…
Add table
Reference in a new issue