Re: Do Regex Character Classes Work in SLRN Score File?

Paul Burton <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
* John E. Davis wrote, On 2/21/2008 11:13 AM:
> With that said, I believe that your last RE can be written as
> 
>   Subject: \c^Re\C.*[ \t][^a-z0-9]?O\.?T\.?[^a-z0-9]?[ \t]
> 
> Note that I added '^' before "Re" to anchor the RE to the beginning of
> the subject field.

Thanks John, that does just what I wanted. I guess I could have expanded 
the POSIX class myself to [^a-z0-9] instead of [^[:alnum:]] (like you 
did), but I was curious exactly what classes /were/ supported, so thanks 
for the link.

And by the way, I did once have the `Re:' rule anchored at the beginning 
of a line, but some how in placing it in the email I lost the `^'.

Thanks again for the quick response.
-- 

Paul Burton
[email protected]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.