summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibRegex/RegexParser.cpp
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2021-09-30 20:03:41 -0400
committerLinus Groh <mail@linusgroh.de>2021-10-01 01:06:40 +0100
commitde723329205c8242cf78dcc6f028bc9fece85059 (patch)
tree079f131226dc6c617f5b4b8887438c905f6d4318 /Userland/Libraries/LibRegex/RegexParser.cpp
parent9ec9886b04b1388c3996d11e516cda6cc6052dba (diff)
downloadserenity-de723329205c8242cf78dcc6f028bc9fece85059.zip
Libraries: Fix typos
Diffstat (limited to 'Userland/Libraries/LibRegex/RegexParser.cpp')
-rw-r--r--Userland/Libraries/LibRegex/RegexParser.cpp2
1 files changed, 1 insertions, 1 deletions
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();