Test, validate and match regular expressions
Matches complete URLs and extracts components into named Python capture groups: protocol, host, optional port, path, query string parameters (first param plus additional ones), and an optional fragment/tag. It validates the overall URL structure (e.g., protocol://host:port/path?params#tag) while enabling easy access to each part via named groups. Ideal for URL parsing, validation, and request routing in web applications.