mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
19991104
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0d684beafb
commit
a9e9697994
16 changed files with 2126 additions and 80 deletions
3
regex.c
3
regex.c
|
@ -1406,7 +1406,8 @@ re_compile_pattern(pattern, size, bufp)
|
|||
case 'W':
|
||||
for (c = 0; c < (1 << BYTEWIDTH); c++) {
|
||||
if (SYNTAX(c) != Sword &&
|
||||
(current_mbctype || SYNTAX(c) != Sword2))
|
||||
(current_mbctype && !re_mbctab[c] ||
|
||||
!current_mbctype && SYNTAX(c) != Sword2))
|
||||
SET_LIST_BIT(c);
|
||||
}
|
||||
last = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue