f"It's not {regex:d{2}}"

https://github.com/r1chardj0n3s/parse

> Parse strings using a specification based on the Python format() syntax.



On Thu, Sep 17, 2020 at 7:15 PM David Mertz <mertz@gnosis.cx> wrote:
I did actually "write the book" on text processing in Python. I think it's painful and awkward, and a terrible idea.

On Thu, Sep 17, 2020, 1:00 PM Chris Angelico <rosuav@gmail.com> wrote:
On Fri, Sep 18, 2020 at 8:54 AM Ben Rudiak-Gould <benrudiak@gmail.com> wrote:
> This is a terrible idea.

Python is an excellent language for text manipulation, and text manipulation is an incredibly useful real-world operation. I don't see what you're complaining at.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-leave@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/JOR62XZENA4IABUEWIGL72EL75DK4FWK/
Code of Conduct: http://python.org/psf/codeofconduct/