Spread a statement over various lines

Manfred Lotz ml_news at posteo.de
Thu Sep 19 04:59:12 EDT 2019


On 2019年9月19日 08:36:04 +0200
Peter Otten <__peter__ at web.de> wrote:
> Manfred Lotz wrote:
>> >> Not related to your question, but:
> >> You seem to try to convert a Windows wildcard pattern to a regex
> >> pattern. 
> > 
> > No, I'm on Linux.
> > 
> > Shortly, after I had posted the question I discovered fnmatch() in
> > the standard library, and I changed my code accordingly. 
>> I would have pointed to fnmatch, but I didn't recognize the '%' that
> you used instead of the usual '?', and fnmatch doesn't either, I
> think.
>> Where does '%' come from?
>
'%' was a mistake as I had replied myself to my initial question.


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /