Function RegExFilter parameter caseSensitive

Topics: Developer Forum, Project Management Forum
Apr 15, 2009 at 1:35 PM
    Hello!
Don't work this parameter.
On the function getCachedRegEx statement

 

Boolean caseSensitive = (opt | RegexOptions.IgnoreCase) == RegexOptions.IgnoreCase;

needed to replace

 

 

Boolean caseSensitive = (opt & RegexOptions.IgnoreCase) == RegexOptions.IgnoreCase;

 

 

Best of regards!

Coordinator
Apr 18, 2009 at 7:47 AM
Thanks Basilio, I have just checked in a fix for this. 
Coordinator
Apr 18, 2009 at 7:48 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.