This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Anthony Sottile
Recipients Anthony Sottile, dom1310df, ezio.melotti, gvanrossum, malin, mrabarnett, serhiy.storchaka, vstinner
Date 2022-04-02.15:06:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1648911977.72.0.303811545708.issue47152@roundup.psfhosted.org>
In-reply-to
Content
would it be possible to expose `parse_template` -- or at least some way to validate that a regex replacement string is correct prior to executing the replacement?

I'm currently using that for my text editor: https://github.com/asottile/babi/blob/d37d7d698d560aef7c6a0d1ec0668672e039bd9a/babi/screen.py#L501
History
Date User Action Args
2022-04-02 15:06:17Anthony Sottilesetrecipients: + Anthony Sottile, gvanrossum, vstinner, ezio.melotti, mrabarnett, serhiy.storchaka, malin, dom1310df
2022-04-02 15:06:17Anthony Sottilesetmessageid: <1648911977.72.0.303811545708.issue47152@roundup.psfhosted.org>
2022-04-02 15:06:17Anthony Sottilelinkissue47152 messages
2022-04-02 15:06:17Anthony Sottilecreate