[Tutor] regular expression matching a dot?
Christian Meesters
meesters at uni-mainz.de
Wed Oct 19 13:24:02 CEST 2005
Actually, your answer did help to open my eyes. The expression is
"\d+S[S|E]\.INF": Ouch!
Thanks a lot,
Christian
On 19 Oct 2005, at 12:11, Misto . wrote:
> [ Workaround ]
> What about using the glob module?
>
> http://docs.python.org/lib/module-glob.html
>
> you can use something like
> glob.glob('./[0-9][0-9]S[E|S].INF')
> (Not tested)
>
>
> Misto
>
More information about the Tutor
mailing list