You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The characters " and ' need to be escaped in the exclude files. Given that these are not special characters in Regex there is no reason why a user should need to do this
The solution
Not escaping " and ' should work
Example
Lets say that I have a file that looks like this:
password=123259807534
password2="4401259804330"
And none of these are actually secrets. To solve this, I might want to exclude these lines with something like:
password\d?="?\d+"?
But this will not work. A user will instead need to do:
password\d?=\"?\d+\"?
Which is not at all intuitive.
The text was updated successfully, but these errors were encountered:
The problem
The characters
"
and'
need to be escaped in the exclude files. Given that these are not special characters inRegex
there is no reason why a user should need to do thisThe solution
Not escaping
"
and'
should workExample
Lets say that I have a file that looks like this:
And none of these are actually secrets. To solve this, I might want to exclude these lines with something like:
But this will not work. A user will instead need to do:
Which is not at all intuitive.
The text was updated successfully, but these errors were encountered: