Quoting Andrei Zmievski <[EMAIL PROTECTED]>:
> I could add this functionality but I am not sure if it would break
> people's scripts because they used parentheses without expecting to
> receive captured delimiters. What does everyone think? Should it be that
> way by default or should we have another PREG_SPLIT flag, e.g.
> PREG_SPLIT_DELIM_CAPTURE? And if we have a flag can it be combined with
Well, given that the aim of the function is to be as perl-compatible, it
would be nice to make this default behaviour. The breakage of any scripts
would be pretty easy to spot, if they did use brackets wrongly, so an entry in
NEWS ought to enough ?
Anil Madhavapeddy, <[EMAIL PROTECTED]>
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]