mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibRegex: Add some implied auto qualifiers
This commit is contained in:
parent
1fdd1915c2
commit
b674de6957
Notes:
sideshowbarker
2024-07-17 22:25:11 +09:00
Author: https://github.com/Hendiadyoin1
Commit: b674de6957
Pull-request: https://github.com/SerenityOS/serenity/pull/11353
Reviewed-by: https://github.com/alimpfard ✅
Reviewed-by: https://github.com/trflynn89
4 changed files with 10 additions and 10 deletions
|
@ -502,7 +502,7 @@ ALWAYS_INLINE ExecutionResult OpCode_Compare::execute(MatchInput const& input, M
|
|||
|
||||
auto ch = input.view.substring_view(state.string_position, 1)[0];
|
||||
|
||||
auto matching_range = binary_search(range_data, ch, nullptr, [insensitive = input.regex_options & AllFlags::Insensitive](auto needle, CharRange range) {
|
||||
auto const* matching_range = binary_search(range_data, ch, nullptr, [insensitive = input.regex_options & AllFlags::Insensitive](auto needle, CharRange range) {
|
||||
auto from = range.from;
|
||||
auto to = range.to;
|
||||
if (insensitive) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue