Re: [pcre-dev] PCRE2 POSIX newline matching

Page principale
Supprimer ce message
Auteur: Ralf Junker
Date:  
À: pcre-dev
Sujet: Re: [pcre-dev] PCRE2 POSIX newline matching
Excellent! With PCRE2 SVN 365 all tests pass with CRLF as the default
newline setting. Many thanks for that patch!

Ralf

On 08.09.2015 19:05, ph10@??? wrote:

> I have just committed a patch. There is a new command called
> #newline_default which is now in several test input files. It causes an
> implicit newline=lf when PCRE2 is compiled with CR or CRLF as the
> default and the pattern does not have its own newline= modifier. For
> test 18 I added (*LF) within the pattern that caused the problem. While
> doing this work I found a few infelicities in the test scripts, and I
> also modified RunGrepTest so that it too can run when LF is not a default
> newline. This has been a useful clearing up exercise.