summaryrefslogtreecommitdiff
path: root/doc/perltest.txt
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-10-02 08:53:31 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-10-02 08:53:31 +0000
commit80d5ddd534157a15013c2314a4236bdd8ac0b72f (patch)
treee9cc83556582cde2b0adf4e2a4d98ae75c35aecf /doc/perltest.txt
parent5c3493df2827cb70ddc42899df2f9ee30f5e7a7b (diff)
downloadpcre-80d5ddd534157a15013c2314a4236bdd8ac0b72f.tar.gz
Documentation update
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@456 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'doc/perltest.txt')
-rw-r--r--doc/perltest.txt24
1 files changed, 9 insertions, 15 deletions
diff --git a/doc/perltest.txt b/doc/perltest.txt
index ca02690..fbbc10e 100644
--- a/doc/perltest.txt
+++ b/doc/perltest.txt
@@ -1,7 +1,7 @@
The perltest program
--------------------
-The perltest program tests Perl's regular expressions; it has the same
+The perltest.pl script tests Perl's regular expressions; it has the same
specification as pcretest, and so can be given identical input, except that
input patterns can be followed only by Perl's lower case modifiers and /+ (as
used by pcretest), which is recognized and handled by the program.
@@ -14,20 +14,14 @@ 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 script can also test UTF-8 features. It works as is for Perl 5.8
-or higher. 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.
+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.
-For Perl 5.6, perltest won't work unmodified for the UTF-8 tests. You need to
-uncomment the "use utf8" lines that it contains. It is best to do this on a
-copy of the script, because for non-UTF-8 tests, these lines should remain
-commented out.
-
-The other testinput files are not suitable for feeding to perltest, since 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 malformed regular
-expressions, in order to check that PCRE diagnoses them correctly.
+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
+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 2004
+September 2009