Serdar Tumgoren
Mon, 30 Aug 2010 15:04:36 -0700
To make a qualifier non-greedy, > simply add an asterix at its end: > > r'<email>WORD1-.*?</email>' > > Hugo explains this nicely, but I just wanted to make one minor correction -- the non-greedy qualifier is the question mark AFTER an the asterisk (which is what Hugo's code shows but I believe he accidentally left off).
Serdar
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor