mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
990918-repack
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
12494013d2
commit
7152df6b9b
11 changed files with 107 additions and 74 deletions
2
regex.c
2
regex.c
|
@ -2186,7 +2186,7 @@ re_compile_pattern(pattern, size, bufp)
|
|||
pending_exact = b;
|
||||
BUFPUSH(0);
|
||||
}
|
||||
if (had_num_literal && current_mbctype) {
|
||||
if (had_num_literal || c == 0xff) {
|
||||
BUFPUSH(0xff);
|
||||
(*pending_exact)++;
|
||||
had_num_literal = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue