problems with regex in Japanese?

Erno Kuusela erno-news at erno.iki.fi
Fri Aug 10 13:33:01 EDT 2001


In article <100820011007233964%joe at strout.net>, Joe Strout
<joe at strout.net> writes:

| [[ This message was both posted and mailed: see
|    the "To," "Cc," and "Newsgroups" headers for details. ]]

| My company is using the PCRE library in an international product.  But
| we're discovering some problems with its UTF-8 support, which is
| causing grief for our Japanese users (and others).  Since (AIUI) Python
| also uses PCRE, I'm wondering if the Python community has encountered
| these problems, and how they've been handled?

python no longer uses pcre, the pcre based regexp module
was replaced by a new unicode-aware implementation called sre (written
by Fredrik Lundh). sre is much faster too...

  -- erno



More information about the Python-list mailing list