Test, validate and match regular expressions
This regular expression matches the opening tag of a Vuetify button component (`<v-btn`) that specifically contains the attribute `color="primary"`. It achieves this by scanning the tag's attributes while ensuring it does not cross the closing angle bracket, allowing it to safely handle multiline tag definitions. It is highly useful in frontend codebases for auditing, refactoring, or extracting specific UI components based on their styling properties.