RE: [SAtalk] quick regex question for rules

2003-06-26 Thread Chris Santerre
> > > \w is a word correct? > > > > Is this right:? > > /(build(ing)?|increase|more) \w?wealth/i > > > > should hit "building real weatlh" ? > > > > Or is it just easier to write: > > /(build(ing)?|increase|more).{1,10}wealth/i > > Do you have Philip Hazel(God bless him)'s pcretest on

Re: [SAtalk] quick regex question for rules

2003-06-26 Thread Tony Earnshaw
Chris Santerre wrote: \w is a word correct? Is this right:? /(build(ing)?|increase|more) \w?wealth/i should hit "building real weatlh" ? Or is it just easier to write: /(build(ing)?|increase|more).{1,10}wealth/i Do you have Philip Hazel(God bless him)'s pcretest on your machine? It'll t

RE: [SAtalk] quick regex question for rules

2003-06-25 Thread Chris Santerre
> -Original Message- > From: Theo Van Dinter [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2003 11:31 AM > To: Chris Santerre > Cc: Spamassassin-Talk (E-mail) > Subject: Re: [SAtalk] quick regex question for rules > > > On Wed, Jun 25, 2003 at 11:17

Re: [SAtalk] quick regex question for rules

2003-06-25 Thread Theo Van Dinter
On Wed, Jun 25, 2003 at 11:17:33AM -0400, Chris Santerre wrote: > \w is a word correct? no. "perldoc perlre" ... \w is an alphanumeric character (includes underscore too). > Is this right:? > /(build(ing)?|increase|more) \w?wealth/i > > should hit "building real weatlh" ? nope. -- Ran