#393, Bug 1279467 - Fix null handling in RegExp character class with unicode flag. r=till

This commit is contained in:
Tooru Fujisawa
2016-06-11 06:04:34 +09:00
committed by Cameron Kaiser
parent 122e41a28c
commit 741f170e6f
2 changed files with 16 additions and 0 deletions

View File

@ -510,6 +510,7 @@ RegExpParser<CharT>::ParseClassCharacterEscape(widechar* code)
case '6': case '7':
if (unicode_) {
if (current() == '0') {
Advance();
*code = 0;
return true;
}