jquery/jquery-mobile — Issue #2848: "?" does not parse properly in filter textbox
Author: mahesh2000
Created: 2011-10-25 23:25:29+00:00
State: open

hi, this may be an escape/regex error in the filter textbox.

i have a

list in which some of the
items have a question mark, "?" in them, indicating a value that i am unsure of. if i search for "?", i get the following error for each one i type in (i.e. "?" or "??", etc.). if i backspace the characters, the list does NOT get restored, i.e. the filter does get removed.

if i, then, use another filter string that does not contain a "?" and then i backspace _that_ one, it appears that jquerymobile resets itself, the entire list is now displayed, and life goes back to normal.

error message below:

jquery.mobile-1.0rc1.min.js:105Uncaught SyntaxError: Invalid regular expression: /^??/: Nothing to repeat

thanks!!

mahesh