Test, validate and match regular expressions
This regex matches CSS @import statements, capturing the resource URL or path inside single or double quotes. It is useful for extracting imported stylesheets from CSS code for dependency analysis, bundling, or minification tasks. The pattern ensures the @import keyword is followed by a word boundary and tolerates any characters before the quoted string, while the capture group excludes closing parentheses to handle url() syntax variations.