This is a tough one. AFAIK there is no way to use a single regex to do this, so you would need multiple meta tests, sort of like what I did with my "real name" tests (http://www.exit0.us/index.php/KP_Rules) -- one rule to trigger on the general pattern that you want, then another rule to trigger on the exception.

If you could be more specific about what the purpose of the rule is, I might be able to help more.


Matthias Keller wrote:

Hi

Still writing some cool rules for my SA (and if they prove themself useful hopefully soon for everyone's SA) and I'm trying something like:
match some word and if at some later position there's anything BUT this word, return true


I'm thinking about something like this:
/([a-z]) [^\1]/i

This should for example match
asdf fdsa
asdf kdkd
asdf asd

but NOT
asdf asdf

Is that possible anyway?

Thanks a lot

Matt
By the way: Is there anyone willing to mass-check some of my rules when they're finished? Most of my rules perform very well on my 200 spammails per day but I've no idea how they perform in the big picture......


Reply via email to