I was searching for old links in one of my setups and it seems that we can't use something like a "/" slash in our searches, like in URLs.

example searches: /work/ or /work or "/work/" or similar... they all return warnings

work/ returns:

warning: preg_match_all() [function.preg-match-all]: Unknown modifier ')' in /home/xyz/www/work/sites/all/modules/scanner/scanner.module on line 198.

/work/ returns:

warning: preg_match_all() [function.preg-match-all]: Unknown modifier 'w' in /home/xyz/www/work/sites/all/modules/scanner/scanner.module on line 198.

"/work/test/" returns:

warning: Invalid argument supplied for foreach() in
/home/xyz/www/work/sites/all/modules/scanner/scanner.module on line 398.

Any hints or some doc will be welcomed.
Thanks again and very best.

Comments

starbow’s picture

It uses regular expressions. Do a google search if you've never used them before. In this case you need to escape the slash with a backslash. To search for "/work/" type in "\/work\/"

jeanhr’s picture

Oh yes, I use them occasionally ... but did not think they were necessary in the forms here.
Thanks for the hint.

starbow’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.