summaryrefslogtreecommitdiff
path: root/doc/perltest.txt
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-10-03 16:48:17 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-10-03 16:48:17 +0000
commitc0aaf57a170aff4923dab5442eb87ad8b09d6c58 (patch)
tree84710ebb2b8f0a49213b66a09249c9c0dbfb173a /doc/perltest.txt
parent76fe3debde15d40100e30e13f57e5a0e1594da1c (diff)
downloadpcre-c0aaf57a170aff4923dab5442eb87ad8b09d6c58.tar.gz
Documentation update.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@458 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'doc/perltest.txt')
-rw-r--r--doc/perltest.txt19
1 files changed, 12 insertions, 7 deletions
diff --git a/doc/perltest.txt b/doc/perltest.txt
index fbbc10e..b106390 100644
--- a/doc/perltest.txt
+++ b/doc/perltest.txt
@@ -8,15 +8,20 @@ used by pcretest), which is recognized and handled by the program.
The data lines are processed as Perl double-quoted strings, so if they contain
" $ or @ characters, these have to be escaped. For this reason, all such
-characters in testinput1 and testinput4 are escaped so that they can be used
-for 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 these files. The output should be identical, apart
-from the initial identifying banner.
+characters in testinput1, testinput4, testinput6, and testinput11 are escaped
+so that they can be used for 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 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
modifier /8 that pcretest uses to invoke UTF-8 functionality. The testinput4
-file 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 work
+correctly.
+
+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
they make use of the special upper case modifiers and escapes that pcretest
@@ -24,4 +29,4 @@ uses to test some features of PCRE. Some of these files also contains malformed
regular expressions, in order to check that PCRE diagnoses them correctly.
Philip Hazel
-September 2009
+October 2009