> Tim - you're a legend. Thanks.
A leg-end? I always knew something was a-foot. Sorry to
make myself the butt of such joking. :)
My pleasure...glad it seems to be working for you.
-tkc (not much of a legend at all...just a regexp wonk)
--
http://mail.python.org/mailman/listinfo/python-
Tim - you're a legend. Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
> p = re.compile("(\*\)",re.IGNORECASE | re.DOTALL)
> m = p.search(data)
First, I presume you didn't copy & paste your expression, as
it looks like you're missing a period before the second
asterisk. Otherwise, all you'd get is any number of
greater-than signs followed by a closing "" tag.
Se
Hi again.
I'm trying to strip all script blocks from HTML, and am using the
following re to do it:
p = re.compile("(\*\)",re.IGNORECASE | re.DOTALL)
m = p.search(data)
The problem is that I'm getting everything from the 1st script's start
tag to the last script's end tag in one group - so it see