Skip to content

syntax: Use \w in rule patterns#3672

Closed
niten94 wants to merge 1 commit intomicro-editor:masterfrom
niten94:syntax-word-escseq
Closed

syntax: Use \w in rule patterns#3672
niten94 wants to merge 1 commit intomicro-editor:masterfrom
niten94:syntax-word-escseq

Conversation

@niten94
Copy link
Contributor

@niten94 niten94 commented Feb 23, 2025

[0-9A-Za-z_] can be replaced with \w like suggested in #3663. The replacement is done with patterns in all syntax files in this pull request, but sh.yaml is changed in #3663 instead.

Replace parts matching lowercase and uppercase letters, digits
or underscore with \w in all syntax files.
@niten94
Copy link
Contributor Author

niten94 commented Dec 17, 2025

There aren't much benefits to replacing \w in all files at once which takes time without writing a non-trivial script, so I'll close this PR.

@niten94 niten94 closed this Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant