Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix usage of special-character prefixes #8772

merged 4 commits into from Jul 4, 2022


Copy link

This was a regression in v3.1 with the rewritten candidate extractor. Now we explicitly add the prefix to the regex to be matched so it could theoretically be anything. In practice there are some characters that won't work for internal reasons.

We still have to pick up candidates for non-prefixed things because the user can write their own class names in an @layer so the prefix is optional but it will now pick it up when necessary.

Fixes #8702

@thecrypticace thecrypticace changed the title Fix non-word prefixes Fix usage of special-character prefixes Jul 4, 2022
@thecrypticace thecrypticace marked this pull request as ready for review July 4, 2022 18:42
@thecrypticace thecrypticace merged commit 5191ec1 into master Jul 4, 2022
@thecrypticace thecrypticace deleted the fix/arbitrary-prefixes branch July 4, 2022 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

Arbitrary Values Not Supported for Special-Character Prefixes (e.g., @) in 3.1
1 participant