Just to be clear: Are the regex filters case-sensitive?

Tips on writing regular expressions for searching the post list

Moderators: Quade, dexter

Just to be clear: Are the regex filters case-sensitive?

Postby RonMarz » Sun Jun 05, 2005 4:38 am

For example, would a filter for the expression "wma" also work on "WMA" and "wMa?"
RonMarz
Active Participant
Active Participant
 
Posts: 54
Joined: Fri May 31, 2002 3:00 pm

Registered Newsbin User since: 04/25/03

Postby DThor » Sun Jun 05, 2005 9:02 am

Yup, which means they're not case sensitive. Easy enough to check. :P You'll note the moment you hit "find", all search fields go to uppercase anyway.

I'm not sure if the standard Perl regex case escape characters(\u \l) work in v4 - I know they don't in the latest v5.

DT
User avatar
DThor
Elite NewsBin User
Elite NewsBin User
 
Posts: 5943
Joined: Mon Jul 01, 2002 9:50 am

Registered Newsbin User since: 04/01/03

Postby Quade » Sun Jun 05, 2005 11:48 am

I upgraded the regex library recently. I believe \s is working now. I haven't tested the other ones.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 45003
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97


Return to Regular Expressions

Who is online

Users browsing this forum: No registered users and 12 guests