Using dictionary to hold regex patterns?

John Machin sjmachin at lexicon.net
Sun Nov 23 16:33:41 EST 2008


On Nov 24, 7:48 am, John Machin <sjmac... at lexicon.net> wrote:
> On Nov 24, 5:36 am, Terry Reedy <tjre... at udel.edu> wrote:
>
> > print name + '#' + regex
>
> Perhaps you meant:
>    print key + "#" + regex.pattern

I definitely meant:
   print name + '#' + regex.pattern



More information about the Python-list mailing list