Page 1 of 1

Searching with '(' doesn't work

PostPosted: Sun Aug 14, 2016 12:00 am
by ppan
I am searching for filenames in the post list for a displayed group.
If I have a file name "something (hello)", I can find it by searching for "Something" (all other files are filtered out).
However, if I search for "something (hello)" or even "something (" nothing is filtered out (it shows "something (hello)" and all other files as well).

Re: Searching with '(' doesn't work

PostPosted: Sun Aug 14, 2016 12:03 am
by Quade
\(Something\)

() have special meaning in regular expressions so you have to escape them.

Re: Searching with '(' doesn't work

PostPosted: Sun Aug 14, 2016 1:28 am
by ppan
Quade wrote:\(Something\)

() have special meaning in regular expressions so you have to escape them.

OK. Forgot that search was by RegEx. Thanks!