mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
Libraries: Fix typos
This commit is contained in:
parent
9ec9886b04
commit
de72332920
9 changed files with 10 additions and 10 deletions
|
@ -1195,7 +1195,7 @@ bool ECMA262Parser::parse_quantifier(ByteCode& stack, size_t& match_length_minim
|
|||
repetition_mark = Repetition::Explicit;
|
||||
if (!parse_interval_quantifier(repeat_min, repeat_max)) {
|
||||
if (unicode) {
|
||||
// Invalid interval quantifiers are disallowed in Unicode mod - they must be esacped with '\{'.
|
||||
// Invalid interval quantifiers are disallowed in Unicode mod - they must be escaped with '\{'.
|
||||
set_error(Error::InvalidPattern);
|
||||
}
|
||||
return !has_error();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue