-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Bad Escape Error parsing regex #2281
Comments
david [5:58 PM] otoolep [6:00 PM] david [6:02 PM] david [6:04 PM] david [6:05 PM] david [6:10 PM] /cc @benbjohnson |
|
Why can't we escape Double escaping sounds very bad to me. I think it'll be a usability nightmare. |
Because it's going through two parsers...InfluxQL and then Go's regex parser. Both use Since InfluxQL regexp uses |
For the InfluxQL parser, couldn't it just look at the next character after a |
Make the InfluxQL parser check for '\/' escape and pass all other escapes through to the Go regexp parser unmodified.
fix #2281: passthru escapes when parsing regex
The text was updated successfully, but these errors were encountered: