Re: [pcre-dev] Newline feature request

Páxina inicial
Borrar esta mensaxe
Autor: Philip Hazel
Data:  
Para: pcre-dev
Temas novos: Re: [pcre-dev] Newline feature request -- matching metacharacter?
Asunto: Re: [pcre-dev] Newline feature request
On Tue, 10 Apr 2007, I wrote:

> On Thu, 5 Apr 2007, Sheri wrote:
>
> > Would you consider adding another newline type? One like "any" but which
> > omits the unicode line ends, e.g.,:
> >
> > (?>\r\n|\n|\r)
>
> Sigh. It could, of course be done, and I have noted the requirement.
> I do so want to get 7.1 released as soon as we can, however, so it may
> be later. On the other hand, I note there may be delays for other
> reasons, so we'll see.


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

--
Philip Hazel, University of Cambridge Computing Service.