Index: src/regexp/jsregexp.cc |
diff --git a/src/regexp/jsregexp.cc b/src/regexp/jsregexp.cc |
index aba793723a30a7c06d6138b8a6eb490d8620bdd4..c3b670b51825cbfa3baf3b989525660a150b9920 100644 |
--- a/src/regexp/jsregexp.cc |
+++ b/src/regexp/jsregexp.cc |
@@ -5890,6 +5890,7 @@ Vector<const int> CharacterRange::GetWordBounds() { |
void CharacterRange::AddCaseEquivalents(Isolate* isolate, Zone* zone, |
ZoneList<CharacterRange>* ranges, |
bool is_one_byte) { |
+ CharacterRange::Canonicalize(ranges); |
int range_count = ranges->length(); |
for (int i = 0; i < range_count; i++) { |
CharacterRange range = ranges->at(i); |