-
Notifications
You must be signed in to change notification settings - Fork 18k
proposal: regexp: support \C to match a single byte #52632
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
Comments
Are there any other regular expression variants that support that? |
I didn't see any other regular expression variants of golang that support \C. I see the use of it in the syntax wiki of re2. |
There are no plans, because it requires operating one byte at a time, and the regexp implementation is fundamentally rune-at-a-time. |
This proposal has been added to the active column of the proposals project |
Closing as infeasible. |
This proposal has been added to the active column of the proposals project |
I wonder if plan to support \C to match a single byte?
The text was updated successfully, but these errors were encountered: