Test, validate and match regular expressions
Parses SMB network share URLs like smb://server/share/path, matching the scheme case-insensitively. Optionally accepts embedded credentials in the form user:password@host. It captures three groups: the host (with credentials if present), the share name, and an optional sub-path separated by / or \. Useful in file managers, network mounting tools, or scripts that need to decompose SMB/UNC-style network paths into components.