Test, validate and match regular expressions
Matches JavaScript import statements referencing files under the `@/component` alias that lack a `.vue` file extension before the closing quote and optional semicolon. The lazy quantifier `[^.;]*?` captures the path up to the filename, while the negative lookahead `(?!\.vue)` ensures only extension-less imports are selected. Typically used in find-and-replace (e.g., with `$1.vue`) to add explicit `.vue` suffixes during Vue 2-to-3 migrations or when strict module resolution is enforced.