Searching with '(' doesn't work

Technical support and discussion of Newsbin Version 6 series.

Searching with '(' doesn't work

Postby ppan » Sun Aug 14, 2016 12:00 am

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).
ppan
Seasoned User
Seasoned User
 
Posts: 245
Joined: Mon Jun 20, 2011 6:49 pm

Registered Newsbin User since: 08/24/09

Re: Searching with '(' doesn't work

Postby Quade » Sun Aug 14, 2016 12:03 am

\(Something\)

() have special meaning in regular expressions so you have to escape them.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44988
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Searching with '(' doesn't work

Postby ppan » Sun Aug 14, 2016 1:28 am

Quade wrote:\(Something\)

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

OK. Forgot that search was by RegEx. Thanks!
ppan
Seasoned User
Seasoned User
 
Posts: 245
Joined: Mon Jun 20, 2011 6:49 pm

Registered Newsbin User since: 08/24/09


Return to V6 Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests