diff --git a/pyproject.toml b/pyproject.toml index 95fdafd..a867b95 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "pyredactkit" -version = "0.3.6" +version = "0.3.7" description = "Python cli tool to redact sensitive data" authors = ["brootware "] license = "GPL-3.0-or-later" diff --git a/pyredactkit/identifiers.py b/pyredactkit/identifiers.py index 54c188d..e130db4 100644 --- a/pyredactkit/identifiers.py +++ b/pyredactkit/identifiers.py @@ -25,7 +25,7 @@ class Identifier: "type": ("ip", "ipv4") }, { - "pattern": r'((?:(?:\\d{4}[- ]?){3}\\d{4}|\\d{15,16}))(?![\\d])', + "pattern": '((?:(?:\\d{4}[- ]?){3}\\d{4}|\\d{15,16}))(?![\\d])', "type": ("cc", "creditcard") }, {