Re: [pcre-dev] Newline feature request -- matching metachara…

Kezdőlap
Üzenet törlése
Szerző: Sheri
Dátum:  
Címzett: pcre-dev
Régi témák: Re: [pcre-dev] Newline feature request
Tárgy: Re: [pcre-dev] Newline feature request -- matching metacharacter?
Hi Philip,

Any way we could get a matching metacharacter, like the new \R? :) Or
better yet make \R match

"(?>\r\n|\n|\r)" when not in utf8 mode and the "any" alternates when in utf8 mode?

Regards,
Sheri


Philip Hazel wrote:
> OK, we seem to have delayed a bit "for other reasons", and I wanted a
> change from working on Exim, so I have implemented PCRE_INFO_ANYCRLF. It
> will be in the next RC or the release itself. If you want it earlier,
> you can pull if from the SVN, where I have just committed it.
>
> Philip
>
>