Regular expression for matching IPA characters in Unicode?

Mickel Grönroos mickel at csc.fi
Mon Oct 11 14:20:48 CEST 2004


Hi Pythoneers,

Which is the best way of checking that a given unicode string only 
contains IPA characters, e.g. characters in the range \u0250-\u02AF?
I guess a regular expression would do it, just can't figure out how to 
implement that expression.

Code snippets are most welcome.

Best regards,

Mickel Grönroos

--
Mickel Grönroos, application specialist, linguistics, CSC
PL 405 (Tekniikantie 15 a D), 02101 Espoo, Finland,
CSC is the Finnish IT center for science, www.csc.fi


More information about the Python-list mailing list