aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/utf/utf_tools.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-12-07 02:52:09 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-12-07 02:52:09 +0000
commitc6c994eaefab891069ead91cd3e426b83b428663 (patch)
tree65e389266d271c2f09d7bf23b84f10be01fc63a9 /phpBB/includes/utf/utf_tools.php
parentd76c4d54a13aee7ee58d7ef402b5dd63b674dcef (diff)
downloadforums-c6c994eaefab891069ead91cd3e426b83b428663.tar
forums-c6c994eaefab891069ead91cd3e426b83b428663.tar.gz
forums-c6c994eaefab891069ead91cd3e426b83b428663.tar.bz2
forums-c6c994eaefab891069ead91cd3e426b83b428663.tar.xz
forums-c6c994eaefab891069ead91cd3e426b83b428663.zip
- removed a regex that made no sense
git-svn-id: file:///svn/phpbb/trunk@6721 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/utf/utf_tools.php')
-rw-r--r--phpBB/includes/utf/utf_tools.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/phpBB/includes/utf/utf_tools.php b/phpBB/includes/utf/utf_tools.php
index e192214d88..5453a3f985 100644
--- a/phpBB/includes/utf/utf_tools.php
+++ b/phpBB/includes/utf/utf_tools.php
@@ -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);