Diff for /embedaddon/pcre/doc/perltest.txt between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 23:05:52 version 1.1.1.2, 2013/07/22 08:25:56
Line 14  other pcretest modifiers that are either handled or ig Line 14  other pcretest modifiers that are either handled or ig
   /W   ignored    /W   ignored
   /S   ignored    /S   ignored
   /SS  ignored    /SS  ignored
     /Y   ignored
   
The data lines are processed as Perl double-quoted strings, so if they containThe pcretest \Y escape in data lines is removed before matching. The data lines
" $ or @ characters, these have to be escaped. For this reason, all suchare processed as Perl double-quoted strings, so if they contain " $ or @
characters in testinput1, testinput4, testinput6, and testinput11 are escapedcharacters, these have to be escaped. For this reason, all such characters in
so that they can be used for perltest as well as for pcretest. The pcretest \Ythe Perl-compatible testinput1 file are escaped so that they can be used for
escape in data lines is removed.perltest as well as for pcretest. The special upper case pattern modifiers such
 as /A that pcretest recognizes, and its special data line escapes, are not used
 in the Perl-compatible test file. The output should be identical, apart from
 the initial identifying banner.
   
 The special upper case pattern modifiers such as /A that pcretest recognizes,  
 and its special data line escapes, are not used in these files. The output  
 should be identical, apart from the initial identifying banner.  
   
 The perltest.pl script can also test UTF-8 features. It recognizes the special  The perltest.pl script can also test UTF-8 features. It recognizes the special
 modifier /8 that pcretest uses to invoke UTF-8 functionality. The testinput4  modifier /8 that pcretest uses to invoke UTF-8 functionality. The testinput4
 and testinput6 files can be fed to perltest to run compatible UTF-8 tests.  and testinput6 files can be fed to perltest to run compatible UTF-8 tests.
However, it is necessary to add "use utf8;" to the script to make this workHowever, it is necessary to add "use utf8; require Encode" to the script to
correctly.make this work correctly. I have not managed to find a way to handle this
 automatically.
   
 The testinput11 file contains tests that use features of Perl 5.10, so does not  
 work with Perl 5.8.  
   
 The other testinput files are not suitable for feeding to perltest.pl, since  The other testinput files are not suitable for feeding to perltest.pl, since
 they make use of the special upper case modifiers and escapes that pcretest  they make use of the special upper case modifiers and escapes that pcretest
uses to test some features of PCRE. Some of these files also contains malformeduses to test certain features of PCRE. Some of these files also contain
regular expressions, in order to check that PCRE diagnoses them correctly.malformed regular expressions, in order to check that PCRE diagnoses them
 correctly.
   
 Philip Hazel  Philip Hazel
August 2011January 2012

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>