php - regular expression - PCRE does not support \L, \l, \N, \P,
<p>I need to use the following regular expression to validate some Asian characters</p>

<pre><code> $regexp = "/^[\-'\u2e80-\u9fff\sa-zA-Z.]+$/"; // with warning

 $regexp = "/^[\-'\sa-zA-Z.]+$/";   // without warning
</code></pre>

<p>preg_match() [function.preg-match]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X.</p>

<p>Do you know how to change the regular expression pattern so that I can validate the Asian characters from <code>\u2e80-\u9fff</code></p>

<p>I am using the latest XAMPP</p>

<pre><code>Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
</code></pre>

<p>Thank you</p>
