<div dir="ltr">I'm sorry, burrowed into the reference until my eyes bled.<br><br>What I want is to have a regular expression with an optional ending of "<br>"<br><br>(For those interested,<br>urlMask = r"http://[\w\Q./\?=\R]+"<br>
is ther version w/o the optional <br> ending.)<br><br>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?<br>
<br>Thx,<br>Omer.<br><br><br></div>