mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
LibRegex: Remove backup file, remove BOM in RegexParser.cpp, run clang-format
This commit is contained in:
parent
3b7884ee8a
commit
6add8b9c05
9 changed files with 8 additions and 1069 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue