er, I mean you should try...
BODY SEX /\bsex\b/
...if you want it to do stuff
(gotta name the rule)

Chris


Chris Thielen said:
> My obfuscation script can do the dirty work for ya...
> http://sandgnat.com/cmos/ .
> Click the link to the live rule generator and try:
> BODY /\bsex\b/
> Make sure to check "match obfu only". (the trick is the negative
> look-ahead)
>
> HTH,
> Chris
>
> P.S. lotsa Chris's around here,eh?
>
> Theo Van Dinter said:
>> On Tue, Nov 04, 2003 at 05:34:53PM -0800, Christopher Eykamp wrote:
>>> How can I match the following: "s\.ex" and "se\.x" and "s\.e\.x" but
>>> not
>>> "sex" without including all the possible permutations?  Is there an
>>> elegant
>>> solution?
>>
>> Well, I have two thoughts on this.
>>
>> 1) you're trying to do something programatic (permutation), which regexp
>>    doesn't really do.  I can't think of a "neat" way to do it.
>> 2) the easiest route would be to use | and do the permutations.
>>
>> /s(?:e\.|\.e\.?)x/
>>
>> Unless it's a really slow or complicated regexp, I try not to spend more
>> time on it than necessary.
>>
>> --
>> Randomly Generated Tagline:
>> "Kids... Can't live with 'em, can't shoot 'em."      - From Grumpy Old
>> Men
>>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?   SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Spamassassin-talk mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
>
>



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to