[pcre-dev] PHP vs PCRE newlines

Αρχική Σελίδα
Delete this message
Συντάκτης: Sheri
Ημερομηνία:  
Προς: Nuno Lopes, pcre-dev
Παλιά Θέματα: Re: [pcre-dev] sf.net bug tracker
Αντικείμενο: [pcre-dev] 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