Useful RE patterns (was: Variable Interpolation - status of PEP 215)

Norman Shelley Norman_Shelley-RRDN60 at
Thu Jun 20 18:32:34 CEST 2002

Fredrik Lundh wrote:

> ...
> If I were to add a dozen (or so) patterns to the (S)RE module,
> what should I pick?  What patterns do you find yourself using
> over and over again?

All kinds of numerics, e.g. scientific (1e-6, 2e6, ...) and engineering (1u,
2M and/or 2MEG, ...) notation.

Python identifiers as previously mentioned.

> </F>

More information about the Python-list mailing list