Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Unified Diff: src/regexp/regexp-ast.h

Issue 1608693003: [regexp] step back if starting unicode regexp within surrogate pair. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@unicodeclass
Patch Set: fix Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/regexp/jsregexp.cc ('k') | test/mjsunit/harmony/unicode-regexp-last-index.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/regexp/regexp-ast.h
diff --git a/src/regexp/regexp-ast.h b/src/regexp/regexp-ast.h
index ed91a82d4934bf4e3d81cd342b40a1eecf6f024e..5e6f8f45e7e011d1da1a2d413b3c2736d2d1d22f 100644
--- a/src/regexp/regexp-ast.h
+++ b/src/regexp/regexp-ast.h
@@ -311,7 +311,7 @@ class RegExpCharacterClass final : public RegExpTree {
// d : ASCII digit
// D : non-ASCII digit
// . : non-unicode non-newline
- // * : All characters
+ // * : All characters, for advancing unanchored regexp
uc16 standard_type() { return set_.standard_set_type(); }
ZoneList<CharacterRange>* ranges(Zone* zone) { return set_.ranges(zone); }
bool is_negated() { return is_negated_; }
« no previous file with comments | « src/regexp/jsregexp.cc ('k') | test/mjsunit/harmony/unicode-regexp-last-index.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698