/* * Copyright (c) 2025, Shannon Booth * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include namespace URL::Pattern { // https://urlpattern.spec.whatwg.org/#full-wildcard-regexp-value static inline constexpr auto full_wildcard_regexp_value = ".*"sv; String escape_a_pattern_string(String const&); String escape_a_regexp_string(String const&); String generate_a_segment_wildcard_regexp(Options const&); String generate_a_pattern_string(ReadonlySpan, Options const&); }