Skip to content

Commit

Permalink
PI-2526 Update expression to handle underscores (#4628)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-bcl authored Feb 5, 2025
1 parent 0500256 commit 4544eb0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"gsub": {
"tag": "Remove any repeated non-alphanumeric strings. The pattern looks for 2 or more non-alphanumeric characters surrounded by whitespace.",
"field": "notes",
"pattern": "(^|\\s)[^\\w\\s]{2,}(\\s|$)",
"pattern": "(^|\\s)[^A-Za-z0-9\\s]{2,}(\\s|$)",
"replacement": " ",
"ignore_missing": true,
"ignore_failure": true
Expand Down

0 comments on commit 4544eb0

Please sign in to comment.