moriyoshi Tue Jan 21 17:09:09 2003 EDT Modified files: /php4/ext/mbstring php_mbregex.c Log: Oops! wrong patch. Reverted. Index: php4/ext/mbstring/php_mbregex.c diff -u php4/ext/mbstring/php_mbregex.c:1.29 php4/ext/mbstring/php_mbregex.c:1.30 --- php4/ext/mbstring/php_mbregex.c:1.29 Tue Jan 21 17:03:29 2003 +++ php4/ext/mbstring/php_mbregex.c Tue Jan 21 17:09:09 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_mbregex.c,v 1.29 2003/01/21 22:03:29 moriyoshi Exp $ */ +/* $Id: php_mbregex.c,v 1.30 2003/01/21 22:09:09 moriyoshi Exp $ */ #ifdef HAVE_CONFIG_H @@ -661,7 +661,7 @@ Replace regular expression for multibyte string */ PHP_FUNCTION(mb_ereg_replace) { - _php_mb_regex_ereg_replace_exec(INTERNAL_FUNCTION_PARAM_PASSTHRU, MBSTRG(regex_default_options)); + _php_mb_regex_ereg_replace_exec(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0); } /* }}} */ @@ -669,7 +669,7 @@ Case insensitive replace regular expression for multibyte string */ PHP_FUNCTION(mb_eregi_replace) { - _php_mb_regex_ereg_replace_exec(INTERNAL_FUNCTION_PARAM_PASSTHRU, MBRE_OPTION_IGNORECASE | MBSTRG(regex_default_options)); + _php_mb_regex_ereg_replace_exec(INTERNAL_FUNCTION_PARAM_PASSTHRU, +MBRE_OPTION_IGNORECASE); } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php