Fix dfa multibyte character class matching when -i is used (RH bug #123363).
Obtained from: Fedora (Tim Waugh)
This commit is contained in:
parent
e4b49c8498
commit
b191ef00d8
@ -2552,6 +2552,8 @@ match_mb_charset (struct dfa *d, int s, position pos, int index)
|
||||
}
|
||||
|
||||
/* match with a character? */
|
||||
if (case_fold)
|
||||
wc = towlower (wc);
|
||||
for (i = 0; i<work_mbc->nchars; i++)
|
||||
{
|
||||
if (wc == work_mbc->chars[i])
|
||||
|
Loading…
Reference in New Issue
Block a user