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
2
regex.c
2
regex.c
@ -1652,7 +1652,7 @@ re_compile_pattern(pattern, size, bufp)
|
|||||||
int negative = 0;
|
int negative = 0;
|
||||||
PATFETCH_RAW(c);
|
PATFETCH_RAW(c);
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 'x': case 'p': case 'i': case '-':
|
case 'x': case 'p': case 'm': case 'i': case '-':
|
||||||
for (;;) {
|
for (;;) {
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case '-':
|
case '-':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user