-
Notifications
You must be signed in to change notification settings - Fork 1
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
Allow replace by Regex capture groups #8
base: master
Are you sure you want to change the base?
Conversation
This PR also helps solving same the problem #3 |
fluent-plugin-pan-anonymizer.gemspec
Outdated
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | |||
|
|||
Gem::Specification.new do |spec| | |||
spec.name = "fluent-plugin-pan-anonymizer" | |||
spec.version = "0.0.1" | |||
spec.version = "0.0.1.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incremented the version number due to changes.
I will keep the version change to prevent conflicts but I reverted other changes. |
This allows using Ruby Regex substitute characters (e.g.,
\1
) in the mask, which allows partial masking.The purpose of the change is to enable the most common masking pattern, "display the first 6 and last 4 numbers, mask the rest".
Solves #6.