re.NONE

1x7y2z9 1x7y2z9 at gmail.com
Tue Jun 23 17:32:27 EDT 2009


On Jun 22, 5:56 pm, Lawrence D'Oliveiro <l... at geek-
central.gen.new_zealand> wrote:
> In message <e9213fb3-
>
> c77d-4a47-8cb4-7dd916d69... at s1g2000prd.googlegroups.com>, 1x7y2z9 wrote:
> > Not sure if this is defined in a later version, but it would be nice
> > to define re.NONE = 0 in the re module.
>
> Do so:
>
>     re.NONE = 0
>
> Problem solved.

It would be nice to have such a constant defined in the re module
(make it standard).



More information about the Python-list mailing list