- 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:
David M 2006-12-07 02:52:09 +00:00
parent d76c4d54a1
commit c6c994eaef

View file

@ -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);