-
Notifications
You must be signed in to change notification settings - Fork 18k
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: syntax.wordRune() is a duplicate of syntax.IsWordChar() #21742
Comments
Change https://golang.org/cl/61034 mentions this issue: |
Hmm, there seems to be a difference, being that IsWordCharLines 104 to 109 in 03c3bb5
WordRuneLines 250 to 257 in 03c3bb5
I haven't examined the entire context of the functions but it seems like perhaps we shouldn't be removing |
Oops, my biggest apologies, it is 5:25AM and I hadn't noticed that wordRune recognizes |
Is there a valid reason for keeping both functions?
The text was updated successfully, but these errors were encountered: