summaryrefslogtreecommitdiff
path: root/Libraries/LibRegex/RegexMatcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibRegex/RegexMatcher.cpp')
-rw-r--r--Libraries/LibRegex/RegexMatcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibRegex/RegexMatcher.cpp b/Libraries/LibRegex/RegexMatcher.cpp
index d410c62543..bfe09b88c5 100644
--- a/Libraries/LibRegex/RegexMatcher.cpp
+++ b/Libraries/LibRegex/RegexMatcher.cpp
@@ -201,7 +201,7 @@ RegexResult Matcher<Parser>::match(const Vector<RegexStringView> views, Optional
if (match_count) {
auto capture_groups_count = min(output.capture_group_matches.size(), output.matches.size());
for (size_t i = 0; i < capture_groups_count; ++i) {
- if(input.regex_options & AllFlags::SkipTrimEmptyMatches) {
+ if (input.regex_options & AllFlags::SkipTrimEmptyMatches) {
output_copy.capture_group_matches.append(output.capture_group_matches.at(i));
} else {
Vector<Match> capture_group_matches;