mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
173e2f6636
commit
9a46002fc0
12 changed files with 59 additions and 40 deletions
2
regex.c
2
regex.c
|
@ -2395,7 +2395,7 @@ re_compile_pattern(pattern, size, bufp)
|
|||
bufp->must = laststart+1;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (!bufp->must) {
|
||||
bufp->must = calculate_must_string(bufp->buffer, b);
|
||||
}
|
||||
if (current_mbctype == MBCTYPE_SJIS) bufp->options |= RE_OPTIMIZE_NO_BM;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue