mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 17:48:37 +00:00
LibWeb: Add is_code_unit_prefix() function
This commit is contained in:
parent
dcad8494d6
commit
ee27d8cdfd
Notes:
sideshowbarker
2024-07-17 16:42:19 +09:00
Author: https://github.com/networkException
Commit: ee27d8cdfd
Pull-request: https://github.com/SerenityOS/serenity/pull/15758
Reviewed-by: https://github.com/davidot ✅
Reviewed-by: https://github.com/linusg ✅
2 changed files with 38 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
|
||||
* Copyright (c) 2022, networkException <networkexception@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -11,5 +12,6 @@
|
|||
namespace Web::Infra {
|
||||
|
||||
String strip_and_collapse_whitespace(StringView string);
|
||||
bool is_code_unit_prefix(StringView potential_prefix, StringView input);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue