On Tue, 17 Sep 2019 20:59:47 +0200
Manfred Lotz <ml_n...@posteo.de> wrote:

> I have a function like follows
> 
> def regex_from_filepat(fpat):
>     rfpat = fpat.replace('.', '\\.') \
>                       .replace('%', '.')  \

Not related to my question but the second replace must be:
                  .replace('?', '.')  


-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to