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