On Mon, 2005-01-31 at 09:48, Matt Kettler wrote:
> At 12:26 PM 1/31/2005, jdow wrote:
> > >     (?:\s|<\/?(?:P|BR)>)+
> >
> >Geshundheidt, John.

Danke.

> >Er, would you care to translate that sneeze, please.
> 
> I think he's trying to catch spaces or HTML line-end type tags.
> 
> Two problems
> 
>          1) it will look for </P> and </BR>, but BR doesn't have a /BR.

Eh, so what? That simplifies the regex a bit.

>          2) body rules never see HTML tags anyway they are already 
> stripped, so that part's pointless. 

Agh. I keep forgetting that.

That simplifies it greatly:

        \s+

:)

--
John Hardin
Development and Technology group (Seattle)
CRS Retail Systems, Inc.
3400 188th Street SW, Suite 185
Lynnwood, WA 98037
voice: (425) 672-1304
  fax: (425) 672-0192
email: [EMAIL PROTECTED]
  web: http://www.crsretail.com
-----------------------------------------------------------------------
 If you smash a computer to bits with a mallet, that appears to count
 as encryption in the state of Nevada.
                                               - CRYPTO-GRAM 12/2001
-----------------------------------------------------------------------

Reply via email to