1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2000-10-02 07:48:42 +00:00
parent 173e2f6636
commit 9a46002fc0
12 changed files with 59 additions and 40 deletions

View file

@ -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;