Passing info to function used in re.sub

Jan Erik Moström lists at mostrom.pp.se
Sun Sep 3 13:58:17 EDT 2023


On 3 Sep 2023, at 19:13, MRAB via Python-list wrote:

> You could use pass an anonymous function (a lambda) to re.sub:

Of course !! Thanks.

= jem


More information about the Python-list mailing list