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

Error in the regex capturing groups example. #401

Closed
saltos opened this issue Apr 23, 2020 · 1 comment
Closed

Error in the regex capturing groups example. #401

saltos opened this issue Apr 23, 2020 · 1 comment
Milestone

Comments

@saltos
Copy link

saltos commented Apr 23, 2020

Chapter Identifying field values to mask by value contains invalid example for the capturing regex groups case.
In the example you use "\1" as the group reference but it does not work. We should use a dollar sign as a reference. Please look at java.util.regex.Matcher documentation.
I've spent some time wondering why "\1" does not work for me.

@philsttr
Copy link
Collaborator

Fixed. Thanks for the report!

@philsttr philsttr added this to the 6.4 milestone Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants