I'm sorry, burrowed into the reference until my eyes bled.

What I want is to have a regular expression with an optional ending of
"<br>"

(For those interested,
urlMask = r"http://[\w\Q./\?=\R]+";
is ther version w/o the optional <br> ending.)

I can't seem to make a string optional- only a single character via []s. I
for some reason thuoght it'll be ()s, but no help there- it just returns
only the <br>. Anybody?

Thx,
Omer.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to