mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
2000-03-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5728ed4f51
commit
976692f8ae
8 changed files with 136 additions and 77 deletions
3
regex.c
3
regex.c
|
@ -2996,11 +2996,12 @@ re_compile_fastmap(bufp)
|
|||
c = beg + 1;
|
||||
}
|
||||
|
||||
for (j = c; j < (1 << BYTEWIDTH); j++)
|
||||
for (j = c; j < (1 << BYTEWIDTH); j++) {
|
||||
if (num_literal)
|
||||
fastmap[j] = 1;
|
||||
if (ismbchar(j))
|
||||
fastmap[j] = 1;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue