mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 20:42:11 +02:00
LibRegex: Add some implied auto qualifiers
This commit is contained in:
committed by
Brian Gianforcaro
parent
1fdd1915c2
commit
b674de6957
Notes:
sideshowbarker
2024-07-17 22:25:11 +09:00
Author: https://github.com/Hendiadyoin1 Commit: https://github.com/SerenityOS/serenity/commit/b674de69578 Pull-request: https://github.com/SerenityOS/serenity/pull/11353 Reviewed-by: https://github.com/alimpfard ✅ Reviewed-by: https://github.com/trflynn89
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user