String Template

Chris Angelico rosuav at gmail.com
Sat Dec 28 10:15:51 EST 2013


On Sat, Dec 28, 2013 at 11:33 PM, Giuseppe Tripoli <t.giuseppe at gmail.com> wrote:
> Certainly the quickest and easiest method is to use the regex, but I did not really intend to change the configuration file.

Then all you need is a way to convert your config file string into a
regex, which shouldn't be too difficult. Try the translation I
described in the earlier post; it might be all you need.

ChrisA



More information about the Python-list mailing list