regexp problem in Python
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Mon Aug 6 22:33:30 EDT 2007
In message <1186177312.117581.129910 at d55g2000hsg.googlegroups.com>, Ehsan
wrote:
> I use this pattern :
> "http.*?\.(wmv|3gp).*""
>
> but it returns only 'wmv' and '3gp' instead of "http://www.2shared.com/
> download/1716611/e2000f22/Jadeed_Mlak14.wmv?
> tsid=20070803-164051-9d637d11"
What's the actual Python code that uses this regexp?
My guess is, you're not using the "group" method correctly in the returned
match object <http://docs.python.org/lib/match-objects.html>.
More information about the Python-list
mailing list