mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
Make Eslint happy.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
function escapeRegexp(text) {
|
||||
return text.replace(/[-/\\^$*+?.()|[\]{}]/g, '\\$&')
|
||||
return text.replace(/[-/\\^$*+?.()|[\]{}]/g, '\\$&');
|
||||
}
|
||||
|
||||
export function censor(text, censoredWords, censoredPattern) {
|
||||
|
||||
Reference in New Issue
Block a user