diff options
author | nigel <nigel@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-02-24 21:39:17 +0000 |
---|---|---|
committer | nigel <nigel@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-02-24 21:39:17 +0000 |
commit | 1622a3e7058dec7de74889c69595693ac0c64187 (patch) | |
tree | 871101eb39b4c1611359f849f7e8b1647a291e30 /doc/perltest.txt | |
parent | b72ae7c414f315e8915948fbea7b391a490fa946 (diff) | |
download | pcre-1622a3e7058dec7de74889c69595693ac0c64187.tar.gz |
Load pcre-2.08a into code/trunk.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@41 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'doc/perltest.txt')
-rw-r--r-- | doc/perltest.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/perltest.txt b/doc/perltest.txt new file mode 100644 index 0000000..6c38ebe --- /dev/null +++ b/doc/perltest.txt @@ -0,0 +1,23 @@ +The perltest program +-------------------- + +The perltest program 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. + +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 testinput3 are escaped so that they can be used +for perltest as well as for pcretest, and the special upper case modifiers such +as /A that pcretest recognizes are not used in these files. The output should +be identical, apart from the initial identifying banner. + +The testinput2 and testinput4 files are not suitable for feeding to perltest, +since they do make use of the special upper case modifiers and escapes that +pcretest uses to test some features of PCRE. The first of these files also +contains malformed regular expressions, in order to check that PCRE diagnoses +them correctly. + +Philip Hazel <ph10@cam.ac.uk> +January 2000 |