From de723329205c8242cf78dcc6f028bc9fece85059 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 30 Sep 2021 20:03:41 -0400 Subject: Libraries: Fix typos --- Userland/Libraries/LibRegex/RegexParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibRegex/RegexParser.cpp') diff --git a/Userland/Libraries/LibRegex/RegexParser.cpp b/Userland/Libraries/LibRegex/RegexParser.cpp index c60bcbaea6..ad48e4e709 100644 --- a/Userland/Libraries/LibRegex/RegexParser.cpp +++ b/Userland/Libraries/LibRegex/RegexParser.cpp @@ -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(); -- cgit v1.2.3