mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +00:00
LibURL/Pattern: Stub out URL::Pattern::match
This will allow us to complete the IDL interface, which will leave remaining work to implement the URL pattern specification within LibURL.
This commit is contained in:
parent
ba93e2a8a3
commit
10b32a8dd8
Notes:
github-actions[bot]
2025-03-04 21:52:46 +00:00
Author: https://github.com/shannonbooth
Commit: 10b32a8dd8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3739
Reviewed-by: https://github.com/trflynn89
2 changed files with 9 additions and 0 deletions
|
@ -49,6 +49,8 @@ class Pattern {
|
|||
public:
|
||||
static PatternErrorOr<Pattern> create(Input const&, Optional<String> const& base_url = {}, Options const& = {});
|
||||
|
||||
PatternErrorOr<Optional<Result>> match(Input const&, Optional<String> const& base_url_string) const;
|
||||
|
||||
bool has_regexp_groups() const;
|
||||
|
||||
Component const& protocol_component() const { return m_protocol_component; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue