Hi,

>           except
>                --> I want here to do a "break" on the inner loop (simple)
>                    and a "continue" on the outer loop
>                    (sort of "next <LABEL> of goto)
>        some other stuff ...

I dont quite follow but..

> 2. regexps

They are really simple 

NOTE: the following regex I wrote can be written MUCH better.

#prints out the url in the string sometext
import re
some_text='<a href="somewhere.com"></a>'
regex_object=re.compile(".*?href=\"(?P<url>.*?)\"")
match_object= regex_object.match(some_text)
print match_object.group("url")


Hope this helps

-Paul

Reply via email to