Re: Mod_Substitute - Match the last occurrence of a string in the response

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2016-11-22 at 11:32 -0800, Mayuresh wrote:
> Is there a way to make a 2 pass substitution? 1st one removing all the
> \n's and then using another one to substitute the string that I want?

How big are your pages?  If not too big, it would be simpler just to
set no line-end and parse as a single line.

(If pages are big it would still be simpler, but a big performance hit).

-- 
Nick Kew



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux