We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf2a79f commit acc1d3aCopy full SHA for acc1d3a
1 file changed
assets/processing_file.js
@@ -43,7 +43,7 @@
43
}
44
} else {
45
const match_arr = rule.trim().split("=")
46
- const regex = new RegExp('(^|\\s)'+match_arr[0].toString()+'(?=\\s|$)', 'gi');
+ const regex = new RegExp('(^|\\s|\\p{P})' + match_arr[0].toString() + '(?=\\p{P}|\\s|$)', 'giu');
47
fix_text = fix_text.replace(regex, '$1'+match_arr[1].toString())
48
49
0 commit comments