Unicode program representation

Fredrik Lundh effbot at telia.com
Mon Apr 3 10:40:07 EDT 2000


François Pinard <pinard at iro.umontreal.ca> wrote:
> Until `sre' definitely replaces `re', you'll have to specify which one you
> want, forcing you as a programmer to a better tracking of narrow vs.
> wide string types: but this is only temporary, the goal seems to be that
> the programmer should not worry about these things.

footnote: 'sre' handles both ordinary strings and unicode
strings.

the reason we're shipping it separately at this time is that's
still very rough -- but if your regular expressions happen to
work under 'sre', you can feed it ordinary strings or unicode
strings.  it's figures the rest out all by itself.

for more information on the current status of 'sre', see the
'sre' homepage:

    http://w1.132.telia.com/~u13208596/sre

</F>





More information about the Python-list mailing list