Very helpful tool for regex
http://weitz.de/regex-coach/

Mike

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Robert Menschel
Sent: Wednesday, November 05, 2003 12:00 AM
To: Christopher Eykamp
Cc: Spamassassin Talk
Subject: Re: [SAtalk] RegEx Question


WARNING: Unsanitized content follows.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Christopher,

Tuesday, November 4, 2003, 5:34:53 PM, you wrote:

CE> I am pretty good at regex, but am stumped by this seemingly easy
problem:

CE> How can I match the following: "s\.ex" and "se\.x" and "s\.e\.x" but
CE> not "sex" without including all the possible permutations?  Is there
CE> an elegant solution?

Would  /\bs\.?e\.?x\b/ work?

Bob

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQA/AwUBP6iDtpebK8E4qh1HEQK6MgCfaN8Ui6NZztcPO8YCSEYT+jH3wYsAni6o
P7/VsPnUqWk3UJ4ZcKM0ttRy
=RFnC
-----END PGP SIGNATURE-----




-------------------------------------------------------
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