Fix dfa multibyte character class matching when -i is used (RH bug #123363).

Obtained from:	Fedora (Tim Waugh)
This commit is contained in:
tjr 2005-05-14 03:18:20 +00:00
parent e4b49c8498
commit b191ef00d8

View File

@ -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])