[regex-coach] problem with dot '.' inside brackets

sites at brynmosher.com sites at brynmosher.com
Wed Apr 26 19:44:30 UTC 2006


I've been using Regex-Coach 0.8.4 on Windows to test some SpamAssassin rules 
and noticed something odd:

Placing the following expression:
[.|m]

to match the following data:
bleh.com

Matches the '.' in bleh.com and not the first non-linefeed character as the 
'.' character in the expression should match. It's almost as if I had 
excaped the '.' like '\.'. Using the expression '[.]' yields the same 
result. I've also noticed that the non-match character '^' doesn't work 
inside brackets as well.

Is this an error or am I crazy?

Bryn



More information about the regex-coach mailing list