Re: [pcre-dev] PHP vs PCRE newlines

Αρχική Σελίδα
Delete this message
Συντάκτης: Nuno Lopes
Ημερομηνία:  
Προς: Sheri, pcre-dev
Υ/ο: andrei
Αντικείμενο: Re: [pcre-dev] PHP vs PCRE newlines
Hi,

Well this discussion does not belog here (pcre already provides the API for
this, so we only need to export it in php userland).
Anyway I'm available to discuss thing along with Andrei. We just need new
nice modifiers (//xx) for these options.

Nuno


----- Original Message -----
From: "Sheri" <silvermoonwoman@???>
To: "Nuno Lopes" <nunoplopes@???>; <pcre-dev@???>
Sent: Saturday, June 23, 2007 5:23 PM
Subject: PHP vs PCRE newlines


> Hi Nuno,
>
> Is adding support for PCRE's newline options on your list for PHP
> enhancements? These are the applicable PCRE option bits.
>
> PCRE_NEWLINE_ANY
> PCRE_NEWLINE_ANYCRLF
> PCRE_NEWLINE_CR
> PCRE_NEWLINE_CRLF
> PCRE_NEWLINE_LF
>
> I believe PHP uses default newline of LF, and especially in the absense of
> support for pattern alternatives, it is not very accommodating on Windows.
>
> Regards,
> Sheri