Re: [pcre-dev] PCRE with UTF-8

Αρχική Σελίδα
Delete this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Manohar S
Υ/ο: pcre-dev
Αντικείμενο: Re: [pcre-dev] PCRE with UTF-8
On Thu, 12 Jun 2008, Manohar S wrote:

> is there any alternative to match all UTF-8 characters?


If by "UTF-8 characters" you mean "characters whose code point is
greater than 127", you can use

[\x{80}-\x{ffff}]+

in UTF-8 mode.

Philip

--
Philip Hazel