pc-magas / phpquery

Automatically exported from code.google.com/p/phpquery
0 stars 0 forks source link

parseSelector method replace cyrillic symbols "Р" and "Э" to "?" #175

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
$query = trim(
    preg_replace('@\s+@u', ' ',
        preg_replace('@\s*(>|\\+|~)\s*@u', '\\1', $query)
    )
);
Unicode "u" modifier correcting this bug

Original issue reported on code.google.com by brds...@gmail.com on 24 Feb 2011 at 6:11