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
Comment #1
starbow commentedIt 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\/"
Comment #2
jeanhr commentedOh yes, I use them occasionally ... but did not think they were necessary in the forms here.
Thanks for the hint.
Comment #3
starbow commentedComment #4
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.