in reply to Strip HTML tags

I'm afraid your fix for single quotes won't work as intended; you cannot use backreferences inside a character class. Inside a character class, \1 et al. are octal escapes, so [^\1] matches any character other than \001, also known as control-A.

Replies are listed 'Best First'.
Re: Re: Strip HTML tags
by rlk (Pilgrim) on Dec 16, 2000 at 03:25 UTC