Am 6 Dec 2004 17:43:21 -0800 schrieb [EMAIL PROTECTED]:

> viel besser als das vergleichbare Regexp:
> 
> >>> re.match('.*\.jpg$', filename)

Ok,now  I've choosen this regex:

> '.*\.(?i)jpe?g'

to get .jpg .JPG .jpeg .JPEG

seems to work. Is this correct?

regards
Andreas
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to