Skip to content

Commit 64e60bf

Browse files
committed
fixed credit card redaction
1 parent d6d740e commit 64e60bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyredactkit/identifiers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Identifier:
2525
"type": ("ip", "ipv4")
2626
},
2727
{
28-
"pattern": r'((?:(?:\\d{4}[- ]?){3}\\d{4}|\\d{15,16}))(?![\\d])',
28+
"pattern": '((?:(?:\\d{4}[- ]?){3}\\d{4}|\\d{15,16}))(?![\\d])',
2929
"type": ("cc", "creditcard")
3030
},
3131
{

0 commit comments

Comments
 (0)