We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add the possibility to use the contents in capture in a regex with the pattern \1
\1
These kinds of regex doesn't work (\d+):\1; \1 should be equal to the content of the first capture \d+
(\d+):\1
\d+
# https://play.golang.org/p/6jLRaiw2-BC panic: regexp: Compile(`(\d+):\1`): error parsing regexp: invalid escape sequence: `\1`
This will be useful for some app who use the package regexp (ex. prometheus)
The text was updated successfully, but these errors were encountered:
See previous questions, like https://stackoverflow.com/questions/23968992/how-to-match-a-regex-with-backreference-in-go.
Sorry, something went wrong.
This is working as designed, sorry. See the discussion at https://swtch.com/~rsc/regexp/.
No branches or pull requests
Add the possibility to use the contents in capture in a regex with the pattern
\1
These kinds of regex doesn't work
(\d+):\1
;\1
should be equal to the content of the first capture\d+
This will be useful for some app who use the package regexp (ex. prometheus)
The text was updated successfully, but these errors were encountered: