DEV: Escape $ in regex
This commit is contained in:
parent
80c1f17f6a
commit
0bbfa7b028
|
@ -24,7 +24,7 @@
|
|||
.trim()
|
||||
.toLowerCase()
|
||||
.replace(
|
||||
/[\{\}\[\]\\\/\<\>\(\)\|\+\?\*\^\'\`\'\"\.\_\d\s~!@#$%&,;:=]/gi,
|
||||
/[\{\}\[\]\\\/\<\>\(\)\|\+\?\*\^\'\`\'\"\.\_\$\d\s~!@#%&,;:=]/gi,
|
||||
"-"
|
||||
)
|
||||
.replace(/\-\-+/g, "-")
|
||||
|
|
Loading…
Reference in New Issue