Skip to content

CSS: Cleaned up at-rule pattern#1875

Merged
RunDevelopment merged 1 commit intoPrismJS:masterfrom
RunDevelopment:css-atrule-clean-up
May 12, 2019
Merged

CSS: Cleaned up at-rule pattern#1875
RunDevelopment merged 1 commit intoPrismJS:masterfrom
RunDevelopment:css-atrule-clean-up

Conversation

@RunDevelopment
Copy link
Member

This PR removes the useless i flag and the useless reluctant modifier.

The reluctant modifier is useless because the following [\s\S] is quantified with * and the (?:;|(?=\s*\{)) after that is disjoint from [\w-].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant