meteor-tabular icon indicating copy to clipboard operation
meteor-tabular copied to clipboard

Searching with a plus sign (+) does not work

Open mtwalsh opened this issue 8 years ago • 1 comments

Hi,

Because of the way the searching uses a regex if you try and search with a plus sign (+) it fails.

A workaround is to escape the plus sign with a backslash but that's not ideal.

mtwalsh avatar May 20 '16 15:05 mtwalsh

Yeah, there are so many characters here that mess up the underlying regex . We should do an escapeRegex on the string passed to mongo. We basically stopped using the inbuilt search mostly but it's worth fixing so you don't see mongo server errors pop up when somebody types * into the search box.

lynchem avatar Mar 12 '24 18:03 lynchem