[Python-ideas] string.replace should accept a list as a first argument

Chris Angelico rosuav at gmail.com
Wed Oct 7 03:11:40 CEST 2015


On Wed, Oct 7, 2015 at 12:05 PM, MRAB <python at mrabarnett.plus.com> wrote:
>> Ooh, I like this idea. Kinda like the difference between building up
>> an SQL statement by escaping all your input, and using a parameterized
>> statement.
>>
> There's always this:
>
> https://pypi.python.org/pypi/regex
>
> Look at "Named lists". ;-)

The time machine strikes again!

ChrisA


More information about the Python-ideas mailing list