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

Regarding the regex NAME_REGEX #75

Open
nyngwang opened this issue Feb 26, 2024 · 0 comments
Open

Regarding the regex NAME_REGEX #75

nyngwang opened this issue Feb 26, 2024 · 0 comments

Comments

@nyngwang
Copy link

Why it's

'\\%([^/\\\\:\\*?<>\'"`\\|]\\)'

in the implementation?

Isn't that the * doesn't have special meaning in character class in vimscript so we don't need to escape it? The same question for the | before the close bracket ]. Thanks for your reading.

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

No branches or pull requests

1 participant