httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: mod_substitute & back-references
Date Thu, 12 Mar 2009 14:42:02 GMT

On Mar 11, 2009, at 5:03 AM, Nick Gearls wrote:

> Oops, stupid !
>
> Anyway, a real problem:
> 	Substitute s|(toreplace)|*replaced[$1]*|qi
> translates "toreplace" into  
> "*replaced[*replaced[*replaced[toreplace]*]*]*"
>
> Don't we expect the q flag to stop any replacement after the first  
> one?
>

Not necessarily, no... it's not a replaceAll vs. replaceFirst
flag.


Mime
View raw message