Anthony Sottile <asott...@umich.edu> added the comment:
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 ---------- nosy: +Anthony Sottile _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue47152> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com