Re: [pcre-dev] [Search and Replace Advice] Was: Re: Correct …

Góra strony
Delete this message
Autor: Gavin Henry
Data:  
Dla: pcre-dev
Temat: Re: [pcre-dev] [Search and Replace Advice] Was: Re: Correct list for usage questions?
<quote who="Gavin Henry">
> <quote who="Philip Hazel">
>> On Fri, 17 Aug 2007, Gavin Henry wrote:
>>
>>> I'll work it out myself then ;-)
>>
>> Good luck.
>
> Thanks.
>
>>
>>> > I'm really after advice on the best practice to apply the captures
>>> etc. on
>>> > the configured string and if there is something in PCRE to ease this,
>>> or
>>> > if it's just best to do it by hand.
>>
>> I think we are all focussed on *matching* here (I certainly am) rather
>> than on what you do afterwards. :-)
>
> Yeah, the penny has dropped here ;-)
>
> Thanks for the follow up.
>
> Gavin.
>


Strange no one mentioned to me:

ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Contrib/pcre_subst.tar.gz

This is the example I was after.

I'm sure many of the projects that use PCRE will have other examples too.

Thanks all.

Gavin.