Skip to content

Commit 34560a6

Browse files
Improved creds regex.
1 parent bc6d5c0 commit 34560a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
],
1313
"regexes": [
1414
{
15-
"regex": "(?m)^([a-zA-Z0-9+_.-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+):([^ ~/$| ].*$)",
15+
"regex": "^([a-zA-Z0-9+_.-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+):([^ ~/$|: ]+)",
1616
"prefix": "creds",
1717
"match": "all"
1818
},

0 commit comments

Comments
 (0)