Stuff that phpbb_preg ... not including bbcode and can't be bothered to move phpbb_preg out ...

git-svn-id: file:///svn/phpbb/trunk@2335 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2002-03-19 00:43:51 +00:00
parent 6e445f4ca5
commit 1ab738dcb2

View file

@ -445,7 +445,7 @@ function obtain_word_list(&$orig_word, &$replacement_word)
{
do
{
$orig_word[] = '#\W(' . str_replace('\*', '\w*?', phpbb_preg_quote($row['word']), "#") . ')\W#is';
$orig_word[] = '#\W(' . str_replace('\*', '\w*?', preg_quote($row['word']) ) . ')\W#is';
$replacement_word[] = $row['replacement'];
}
while ( $row = $db->sql_fetchrow($result) );