mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
- removed a regex that made no sense
git-svn-id: file:///svn/phpbb/trunk@6721 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -648,8 +648,6 @@ function utf8_str_split($str, $split_len = 1)
|
||||
*/
|
||||
function utf8_strspn($str, $mask, $start = null, $length = null)
|
||||
{
|
||||
$mask = preg_replace('!([\\\\\\-\\]\\[/^])!', '\\\${1}', $mask);
|
||||
|
||||
if ($start !== null || $length !== null)
|
||||
{
|
||||
$str = utf8_substr($str, $start, $length);
|
||||
|
Reference in New Issue
Block a user