Passing info to function used in re.sub

Jan Erik Moström lists at mostrom.pp.se
Tue Sep 5 04:05:11 EDT 2023


On 3 Sep 2023, at 18:10, Jan Erik Moström via Python-list wrote:

> I'm looking for some advice for how to write this in a clean way

Thanks for all the suggestion, I realize that I haven't written Python code in a while. I should have remembered this myself !!! Thanks for reminding me.

= jem


More information about the Python-list mailing list