mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
parent
547933815a
commit
6f28ac6c01
@ -65,7 +65,7 @@
|
|||||||
v = v.join('\u0000');
|
v = v.join('\u0000');
|
||||||
}
|
}
|
||||||
// escape special regex characters (http://stackoverflow.com/a/9310752/145346)
|
// escape special regex characters (http://stackoverflow.com/a/9310752/145346)
|
||||||
v = v.replace(/[-[\]{}()*+?.,/\\^$|#\s]/g, '\\$&');
|
v = v.replace(/[-[\]{}()*+?.,/\\^$|#]/g, '\\$&');
|
||||||
// convert string back into an array
|
// convert string back into an array
|
||||||
if (arry) {
|
if (arry) {
|
||||||
v = v.split('\u0000');
|
v = v.split('\u0000');
|
||||||
|
Loading…
Reference in New Issue
Block a user