Kent Johnson wrote:
> >
> import re
> file = open("file1.html")
> data = file.read()
> catRe = re.compile(r'Title:(.*?)')
>
> Thi regex does not agree with the data you originally posted. Your
> original data was
> Category:Category1
>
> Do you see the difference? Your regex has
> From: Danny Yoo <[EMAIL PROTECTED]>
>
[...]
> The Regular Expression HOWTO itself is pretty good and talks about some of
> the stuff you've been running into, so here's a link to the base url that
> you may want to look at:
>
> http://www.amk.ca/python/howto/regex/
Ah yes I`ve been readin
OK before I got in to the loop in the script I decided to try first with one
file and I have some doubts with the some parts in the script,plus I got an
error:
>>> import re
>>> file = open("file1.html")
>>> data = file.read()
>>> catRe = re.compile(r'Title:(.*?)')
# I searched around the docs on