Re: [pcre-dev] PCRE 7.3 release candidate for testing

Góra strony
Delete this message
Autor: Sheri
Data:  
Dla: pcre-dev
Temat: Re: [pcre-dev] PCRE 7.3 release candidate for testing
Philip Hazel wrote:
> On Sat, 18 Aug 2007, Sheri wrote:
>
>
>> Could you imagine telling users where <LF> is in effect, it is
>> illigitimate to search for \n ?
>>
>
> No, but that's not a fair comparison. That is a search for a *complete
> newline sequence*. The equivalent is searching for \r\n, at least in
> <CRLF> mode, not for just \n. I admit it does get weird in these "any"
> modes. They have turned out to be a mare's nest/can of worms/quicksand/
> that I rather wish I hadn't ventured into.
>
> I'm thinking about your other points.
>
> Philip
>
>

FWIW, for my own usage ANYCRLF has been just fine, wonderful even :D.
That's the reason it became our default. Perhaps there will be fewer
issues for less informed users when there's a metacharacter for ANYCRLF.

Regards,
Sheri