diff options
author | Andrei Zmievski <andrei@php.net> | 2000-11-23 17:25:13 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2000-11-23 17:25:13 +0000 |
commit | 0af5c36d9402be4fa2952f5e137abd68f26bc503 (patch) | |
tree | c8aae309774bd48b1fff78b1f1a986af812a9700 /main/php_output.h | |
parent | f03b949134ee2179963fbf88ddca312134642b4f (diff) | |
download | php-git-0af5c36d9402be4fa2952f5e137abd68f26bc503.tar.gz |
This submission introduces two features.
The first one is support for Perl-style matching regexp delimiters, i.e.
using <[{( and )}]> to delimit the regular expressions.
The second one is a new 'F' modifier that allows you to specify a function name
in the replacement argument to preg_replace(). This function will be called
when the replacement needs to be made. It is passed an array of full matched
pattern and captured subpatterns and it is expected to return a string that
will be used for replacement. 'e' and 'F' modifiers cannot be used together.
@- Implemented support for Perl-style matching regexp delimiters in PCRE.
@ You can use <{[( and )]}> to delimit your expressions now. (Andrei)
@- Introduced new 'F' modifier in PCRE that lets you specify a function
@ name in the replacement argument to preg_replace() that will be called
@ at run-time to provide the replacement string. It is passed an array of
@ matched pattern and subpatterns. (Andrei)
Diffstat (limited to 'main/php_output.h')
0 files changed, 0 insertions, 0 deletions