/[pcre]/code/tags/pcre-7.2/doc/pcrematching.3
ViewVC logotype

Diff of /code/tags/pcre-7.2/doc/pcrematching.3

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 96 by nigel, Fri Mar 2 13:10:43 2007 UTC revision 148 by ph10, Mon Apr 16 13:25:10 2007 UTC
# Line 41  correspond to the two matching algorithm Line 41  correspond to the two matching algorithm
41  .SH "THE STANDARD MATCHING ALGORITHM"  .SH "THE STANDARD MATCHING ALGORITHM"
42  .rs  .rs
43  .sp  .sp
44  In the terminology of Jeffrey Friedl's book \fIMastering Regular  In the terminology of Jeffrey Friedl's book "Mastering Regular
45  Expressions\fP, the standard algorithm is an "NFA algorithm". It conducts a  Expressions", the standard algorithm is an "NFA algorithm". It conducts a
46  depth-first search of the pattern tree. That is, it proceeds along a single  depth-first search of the pattern tree. That is, it proceeds along a single
47  path through the tree, checking that the subject matches what is required. When  path through the tree, checking that the subject matches what is required. When
48  there is a mismatch, the algorithm tries any alternatives at the current point,  there is a mismatch, the algorithm tries any alternatives at the current point,
# Line 161  less susceptible to optimization. Line 161  less susceptible to optimization.
161  .P  .P
162  3. Although atomic groups are supported, their use does not provide the  3. Although atomic groups are supported, their use does not provide the
163  performance advantage that it does for the standard algorithm.  performance advantage that it does for the standard algorithm.
164  .P  .
165  .in 0  .
166  Last updated: 24 November 2006  .SH AUTHOR
167  .br  .rs
168  Copyright (c) 1997-2006 University of Cambridge.  .sp
169    .nf
170    Philip Hazel
171    University Computing Service
172    Cambridge CB2 3QH, England.
173    .fi
174    .
175    .
176    .SH REVISION
177    .rs
178    .sp
179    .nf
180    Last updated: 06 March 2007
181    Copyright (c) 1997-2007 University of Cambridge.
182    .fi

Legend:
Removed from v.96  
changed lines
  Added in v.148

  ViewVC Help
Powered by ViewVC 1.1.5