2022-10-01 18:39:40 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
|
2022-10-23 04:02:56 +02:00
|
|
|
* Copyright (c) 2022, networkException <networkexception@serenityos.org>
|
2023-02-03 21:49:54 +01:00
|
|
|
* Copyright (c) 2023, Kenneth Myhra <kennethmyhra@serenityos.org>
|
2023-02-15 13:56:37 +00:00
|
|
|
* Copyright (c) 2023, Sam Atkins <atkinssj@serenityos.org>
|
2022-10-01 18:39:40 +01:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <AK/Forward.h>
|
|
|
|
|
|
|
|
namespace Web::Infra {
|
|
|
|
|
2023-02-15 13:56:37 +00:00
|
|
|
bool is_ascii_case_insensitive_match(StringView a, StringView b);
|
2022-12-04 18:02:33 +00:00
|
|
|
DeprecatedString strip_and_collapse_whitespace(StringView string);
|
2022-10-23 04:02:56 +02:00
|
|
|
bool is_code_unit_prefix(StringView potential_prefix, StringView input);
|
2023-02-03 21:49:54 +01:00
|
|
|
ErrorOr<String> convert_to_scalar_value_string(StringView string);
|
2023-02-25 23:23:26 +01:00
|
|
|
ErrorOr<String> to_ascii_lower_case(StringView string);
|
2023-02-25 23:47:54 +01:00
|
|
|
ErrorOr<String> to_ascii_upper_case(StringView string);
|
2022-10-01 18:39:40 +01:00
|
|
|
|
|
|
|
}
|