>-----Original Message-----
>From: Matthias Keller [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 21, 2004 10:25 AM
>To: SATalk list
>Subject: Another RegExp Question (NOT-something)
>
>
>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......
>

Negative on that. You are trying to match a pattern twice on the same line,
however you don't have a specific pattern. So you would need to back
reference the original pattern. This is only going to happen in an eval. No
way to do in regex IIRC.

--CHris

Reply via email to