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

Elaborate on backslash escaping in gsub. #87

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jautz
Copy link

@jautz jautz commented Dec 28, 2016

In our experiments with the gsub mutate filter it turned out that the documentation is a little bit misleading with respect to backslashes: escaping any backslash would deprive some regular expressions of their magic. Apart from that, an example that illustrates backreferences might help some users.

Please review this pull request and decide if you are willing to accept it.

Escaping any backslash as stated before would deprive
some regular expressions of their magic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants