mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-26 00:57:30 +09:00
Issue #2103 - Fix typo in RegExp Parser
This corrects the typo where the left-hand character would determine if the right-hand character would be added or not. Resolves #2103
This commit is contained in:
parent
f75e9d9441
commit
8d3f23ed00
1 changed files with 1 additions and 1 deletions
|
|
@ -904,7 +904,7 @@ RegExpParser<CharT>::ParseCharacterClass()
|
|||
if (char_class_1 == kNoCharClass)
|
||||
ranges->append(CharacterRange::Singleton(char_1));
|
||||
ranges->append(CharacterRange::Singleton('-'));
|
||||
if (char_class_1 == kNoCharClass)
|
||||
if (char_class_2 == kNoCharClass)
|
||||
ranges->append(CharacterRange::Singleton(char_2));
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue