|
From: Paul S. O. <ps...@us...> - 2002-03-19 00:43:54
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv2361/includes
Modified Files:
functions.php
Log Message:
Stuff that phpbb_preg ... not including bbcode and can't be bothered to move phpbb_preg out ...
Index: functions.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/functions.php,v
retrieving revision 1.126
retrieving revision 1.127
diff -C2 -r1.126 -r1.127
*** functions.php 19 Mar 2002 00:08:18 -0000 1.126
--- functions.php 19 Mar 2002 00:43:51 -0000 1.127
***************
*** 446,450 ****
do
{
! $orig_word[] = '#\W(' . str_replace('\*', '\w*?', phpbb_preg_quote($row['word']), "#") . ')\W#is';
$replacement_word[] = $row['replacement'];
}
--- 446,450 ----
do
{
! $orig_word[] = '#\W(' . str_replace('\*', '\w*?', preg_quote($row['word']) ) . ')\W#is';
$replacement_word[] = $row['replacement'];
}
|