Problem with picking up regex symbols

Created on 12 February 2021, about 4 years ago
Updated 21 December 2024, 3 months ago

Hi,
Firstly, thanks a lot for this useful module.
I had problem with replacing text that had "$" in it until I changed it to "\$", although "Use regular expressions in search" checkbox was unchecked.
I suggest to have a contextual help paragraph to the right of the field explaining which symbols need to be escaped with "\" and how to submit exact plain strings without module trying to see regex in it.

Thank you!

// The special characters to escape if a search string is not a regex string.
define('SCANNER_REGEX_CHARS', '.\/+*?[^]$() {}=!<>|:');
πŸ› Bug report
Status

Closed: outdated

Version

1.1

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada gennadiy

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024