mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-08 05:27:14 +09:00
LibRegex: Remove backup file, remove BOM in RegexParser.cpp, run clang-format
This commit is contained in:
parent
3b7884ee8a
commit
6add8b9c05
Notes:
sideshowbarker
2024-07-19 01:15:01 +09:00
Author: https://github.com/lnzero1dev
Commit: 6add8b9c05
Pull-request: https://github.com/SerenityOS/serenity/pull/4103
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/linusg ✅
9 changed files with 8 additions and 1069 deletions
|
@ -565,7 +565,7 @@ const Vector<String> OpCode_Compare::variable_arguments_to_string(Optional<Match
|
|||
auto value = (CharRange)m_bytecode->at(offset++);
|
||||
result.empend(String::format("ch_range='%c'-'%c'", value.from, value.to));
|
||||
if (!view.is_null())
|
||||
result.empend(String::format("compare against: '%s'", input.value().view.substring_view(state().string_position, state().string_position + 1 > view.length() ? 0 : 1).to_string().characters()));
|
||||
result.empend(String::format("compare against: '%s'", input.value().view.substring_view(state().string_position, state().string_position + 1 > view.length() ? 0 : 1).to_string().characters()));
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue