Charcoal-SE / metasmoke

Web dashboard for SmokeDetector.
https://metasmoke.erwaysoftware.com
Creative Commons Zero v1.0 Universal
43 stars 34 forks source link

Search: regex doesn't support character classes (e.g. \s, \b, \W, etc.) #351

Closed makyen closed 6 years ago

makyen commented 6 years ago

When entering a regex into the search page, I expected to be able to use character classes (e.g. \s, \b, \W, etc.). However, when I tried, the results were identical to searching a non-regex with the \ character stripped.

Example:

non-regex regex
Search for sales Search for regex sale\s Results are, erroneously, identical
Search for saleb Search for regex sale\b Results are, erroneously, identical
ArtOfCode- commented 6 years ago

Duplicate of #258