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]
- To: users@xxxxxxxxxxxxxxxx
- Subject: Re: Mod_Substitute - Match the last occurrence of a string in the response
- From: Nick Kew <niq@xxxxxxxxxx>
- Date: Wed, 23 Nov 2016 10:49:31 +0000
- In-reply-to: <CAOLbyf0K=dqTG3Nj4rUNKBCnpsBvgOYCjY5naVnFYyf0vgaA4Q@mail.gmail.com>
- Reply-to: users@xxxxxxxxxxxxxxxx
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]