~ubuntu-branches/ubuntu/trusty/pcre3/trusty

« back to all changes in this revision

Viewing changes to doc/pcresample.3

  • Committer: Package Import Robot
  • Author(s): Mark Baker
  • Date: 2012-03-23 22:34:54 UTC
  • mfrom: (23.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20120323223454-grhqqolk8a7x1h24
Tags: 1:8.30-4
* Reluctantly using an epoch, as it seems the funny version number with
  extra dots causes problems
* Bumped standard version to 3.9.3. No changes needed
* Converted to use new source format / quilt
* Put back obsolete pcre_info() API that upstream have dropped (Closes:
  #665300, #665356)
* Don't include pcregrep binary in debug package

Thanks to Elimar Riesebieter for the conversion to the new source format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
documentation. If you do not have a copy of the PCRE distribution, you can save
14
14
this listing to re-create \fIpcredemo.c\fP.
15
15
.P
16
 
The program compiles the regular expression that is its first argument, and
17
 
matches it against the subject string in its second argument. No PCRE options
18
 
are set, and default character tables are used. If matching succeeds, the
19
 
program outputs the portion of the subject that matched, together with the
20
 
contents of any captured substrings.
 
16
The demonstration program, which uses the original PCRE 8-bit library, compiles
 
17
the regular expression that is its first argument, and matches it against the
 
18
subject string in its second argument. No PCRE options are set, and default
 
19
character tables are used. If matching succeeds, the program outputs the
 
20
portion of the subject that matched, together with the contents of any captured
 
21
substrings.
21
22
.P
22
23
If the -g option is given on the command line, the program then goes on to
23
24
check for further matches of the same regular expression in the same subject
55
56
.\" HREF
56
57
\fBpcretest\fP,
57
58
.\"
58
 
which supports many more facilities for testing regular expressions and the
59
 
PCRE library. The
 
59
which supports many more facilities for testing regular expressions and both
 
60
PCRE libraries. The
60
61
.\" HREF
61
62
\fBpcredemo\fP
62
63
.\"
93
94
.rs
94
95
.sp
95
96
.nf
96
 
Last updated: 17 November 2010
97
 
Copyright (c) 1997-2010 University of Cambridge.
 
97
Last updated: 10 January 2012
 
98
Copyright (c) 1997-2012 University of Cambridge.
98
99
.fi