Skip to content

Commit eb2427b

Browse files
authored
badword.js
1 parent 79d242d commit eb2427b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

badword.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function escapeRegExp(strings){
5454
data[index] = data[index].replace(/[.*+?^${}()|[\]\\]/g, '\\$&').
5555
replace(/[a4]/g, "[a4]").replace(/[s5]/g, "[s5]").replace("i", "[i1]").
5656
replace("l", "[l1]").replace(/[o0]/g, "[o0]").replace(/[e3]/g, "[e3]").
57-
replace(/[b8]/g, "[b8]");
57+
replace(/[b8]/g, "[b8]").replace(/[kx]/g, "[kx]");
5858
};
5959
}
6060
data = new RegExp(data.join("|"));

0 commit comments

Comments
 (0)