--- embedaddon/pcre/doc/html/pcresample.html 2012/02/21 23:05:52 1.1.1.1 +++ embedaddon/pcre/doc/html/pcresample.html 2013/07/22 08:25:57 1.1.1.2 @@ -24,11 +24,12 @@ documentation. If you do not have a copy of the PCRE d this listing to re-create pcredemo.c.

-The program compiles the regular expression that is its first argument, and -matches it against the subject string in its second argument. No PCRE options -are set, and default character tables are used. If matching succeeds, the -program outputs the portion of the subject that matched, together with the -contents of any captured substrings. +The demonstration program, which uses the original PCRE 8-bit library, compiles +the regular expression that is its first argument, and matches it against the +subject string in its second argument. No PCRE options are set, and default +character tables are used. If matching succeeds, the program outputs the +portion of the subject that matched, together with the contents of any captured +substrings.

If the -g option is given on the command line, the program then goes on to @@ -65,8 +66,8 @@ tests like this: Note that there is a much more comprehensive test program, called pcretest, -which supports many more facilities for testing regular expressions and the -PCRE library. The +which supports many more facilities for testing regular expressions and both +PCRE libraries. The pcredemo program is provided as a simple coding example.

@@ -100,9 +101,9 @@ Cambridge CB2 3QH, England. REVISION

-Last updated: 17 November 2010 +Last updated: 10 January 2012
-Copyright © 1997-2010 University of Cambridge. +Copyright © 1997-2012 University of Cambridge.

Return to the PCRE index page.