On Mon, 2 Oct 2017 11:15:35 -0400 Barry Warsaw <ba...@python.org> wrote: > > I think there are opportunities for an explicit API for lazy compilation of > regular expressions, but I’m skeptical of the adoption curve making it > worthwhile. But maybe I’m wrong!
We already have two caching schemes available in the re module: one explicit and eager with re.compile(), one implicit and lazy with re.search() and friends. I doubt we really need a third one :-) Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com