Make Eslint happy.
This commit is contained in:
parent
058df4329d
commit
0f2de4863b
|
@ -1,5 +1,5 @@
|
|||
function escapeRegexp(text) {
|
||||
return text.replace(/[-/\\^$*+?.()|[\]{}]/g, '\\$&')
|
||||
return text.replace(/[-/\\^$*+?.()|[\]{}]/g, '\\$&');
|
||||
}
|
||||
|
||||
export function censor(text, censoredWords, censoredPattern) {
|
||||
|
|
Loading…
Reference in New Issue