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

RegExp #611

Closed
simone-sanfratello opened this issue Sep 3, 2016 · 2 comments

Comments

@simone-sanfratello
Copy link

commented Sep 3, 2016

Using RegExp in cases like this

source.match(/FUNCTION.+\(([\w\s\,]*)\)/)

the "\s" is marked as violation
Unnecessary escape character: ,. (no-useless-escape)

@timoxley

This comment has been minimized.

Copy link
Contributor

commented Sep 3, 2016

Based on the error message it's probably the \, that's actually the violation.

@simone-sanfratello

This comment has been minimized.

Copy link
Author

commented Sep 3, 2016

It is, thank you.
Sorry for opening an useless issue.

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.