Test, validate and match regular expressions
Matches CSS @import statements, supporting both url(...) and string syntax, with optional media query or layer conditions before the semicolon. Useful for parsing, validating, or extracting imports from CSS files, especially in build tools or linters.