[wp-trac] [WordPress Trac] #25709: Searches with stopwords can trigger E_WARNING when PCRE is lacking UTF-8 support
WordPress Trac
noreply at wordpress.org
Sat Oct 26 16:35:20 UTC 2013
#25709: Searches with stopwords can trigger E_WARNING when PCRE is lacking UTF-8
support
--------------------------+--------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 3.7.1
Component: General | Version: 3.7
Severity: major | Resolution:
Keywords: |
--------------------------+--------------------
Comment (by azaozz):
As far as I remember `\X` matches any unicode character. If `\p{L}`
includes all letters, this should match:
{{{
$s = '畑';
var_dump( preg_match( '/^\p{L}$/u', $s ) );
}}}
There is definitely something more going on, perhaps excluding only ASCII
letters is good for now.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25709#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list