Skip to main content

Module url_pattern

Module url_pattern 

Source
Expand description

CDP-style URL pattern matching.

Compiles a CDP wildcard pattern (* matches any sequence, ? matches a single character) into a regex::Regex. All other regex metacharacters in the input are escaped so the user-facing surface stays the simple CDP syntax used by Fetch.RequestPattern.urlPattern.

Structsยง

UrlPattern
A compiled CDP URL pattern.