Searched refs:char_class (Results 1 – 5 of 5) sorted by relevance
9132 var char_class = new RegExp(re, "g"); variable9133 var munged = text.replace(char_class, "foo");
4902 CharacterRange RegExpParser::ParseClassAtom(uc16* char_class) { in ParseClassAtom() argument4903 ASSERT_EQ(0, *char_class); in ParseClassAtom()4908 *char_class = Next(); in ParseClassAtom()4931 uc16 char_class, in AddRangeOrEscape() argument4933 if (char_class != kNoCharClass) { in AddRangeOrEscape()4934 CharacterRange::AddClassEscape(char_class, ranges); in AddRangeOrEscape()4954 uc16 char_class = kNoCharClass; in ParseCharacterClass() local4955 CharacterRange first = ParseClassAtom(&char_class CHECK_FAILED); in ParseCharacterClass()4963 AddRangeOrEscape(ranges, char_class, first); in ParseCharacterClass()4969 if (char_class != kNoCharClass || char_class_2 != kNoCharClass) { in ParseCharacterClass()[all …]
335 CharacterRange ParseClassAtom(uc16* char_class);
750 RegExpCharacterClass* char_class) { in CharClass() argument752 result.data.u_char_class = char_class; in CharClass()5150 RegExpCharacterClass* char_class = text.data.u_char_class; in ComputeFirstCharacterSet() local5151 ZoneList<CharacterRange>* ranges = char_class->ranges(); in ComputeFirstCharacterSet()5155 if (char_class->is_negated()) { in ComputeFirstCharacterSet()
451 static TextElement CharClass(RegExpCharacterClass* char_class); in FOR_EACH_REG_EXP_TREE_TYPE()