Currently
$.escapeRE('ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890')
is returning
'\A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z\1\2\3\4\5\6\7\8\9\0'
but it should not escape any letters.
I think it is necessary to escape the '-' in the regex:
/([\\{}()|.?*+-\^$\[\]])/g
because it is probably being understood as the interval from '+' to '\'.
Version: 1.17.x
Severity: enhancement