/[pcre]/code/trunk/doc/pcresyntax.3
ViewVC logotype

Diff of /code/trunk/doc/pcresyntax.3

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

revision 210 by ph10, Wed Aug 8 14:24:50 2007 UTC revision 266 by ph10, Wed Nov 14 11:40:45 2007 UTC
# Line 186  Yi. Line 186  Yi.
186    [^...]      negative character class    [^...]      negative character class
187    [x-y]       range (can be used for hex characters)    [x-y]       range (can be used for hex characters)
188    [[:xxx:]]   positive POSIX named set    [[:xxx:]]   positive POSIX named set
189    [[^:xxx:]]  negative POSIX named set    [[:^xxx:]]  negative POSIX named set
190  .sp  .sp
191    alnum       alphanumeric    alnum       alphanumeric
192    alpha       alphabetic    alpha       alphabetic
# Line 351  Each top-level branch of a look behind m Line 351  Each top-level branch of a look behind m
351  .SH "BACKTRACKING CONTROL"  .SH "BACKTRACKING CONTROL"
352  .rs  .rs
353  .sp  .sp
354  The following act immediately they are reached:  The following act immediately they are reached:
355  .sp  .sp
356    (*ACCEPT)      force successful match    (*ACCEPT)      force successful match
357    (*FAIL)        force backtrack; synonym (*F)    (*FAIL)        force backtrack; synonym (*F)
358  .sp  .sp
359  The following act only when a subsequent match failure causes a backtrack to  The following act only when a subsequent match failure causes a backtrack to
360  reach them. They all force a match failure, but they differ in what happens  reach them. They all force a match failure, but they differ in what happens
361  afterwards. Those that advance the start-of-match point do so only if the  afterwards. Those that advance the start-of-match point do so only if the
362  pattern is not anchored.  pattern is not anchored.
363  .sp  .sp
364    (*COMMIT)      overall failure, no advance of starting point    (*COMMIT)      overall failure, no advance of starting point
# Line 367  pattern is not anchored. Line 367  pattern is not anchored.
367    (*THEN)        local failure, backtrack to next alternation    (*THEN)        local failure, backtrack to next alternation
368  .  .
369  .  .
370    .SH "NEWLINE CONVENTIONS"
371    .rs
372    .sp
373    These are recognized only at the very start of the pattern or after a
374    (*BSR_...) option.
375    .sp
376      (*CR)
377      (*LF)
378      (*CRLF)
379      (*ANYCRLF)
380      (*ANY)
381    .
382    .
383    .SH "WHAT \eR MATCHES"
384    .rs
385    .sp
386    These are recognized only at the very start of the pattern or after a
387    (*...) option that sets the newline convention.
388    .sp
389      (*BSR_ANYCRLF)
390      (*BSR_UNICODE)
391    .
392    .
393  .SH "CALLOUTS"  .SH "CALLOUTS"
394  .rs  .rs
395  .sp  .sp
# Line 395  Cambridge CB2 3QH, England. Line 418  Cambridge CB2 3QH, England.
418  .rs  .rs
419  .sp  .sp
420  .nf  .nf
421  Last updated: 08 August 2007  Last updated: 14 November 2007
422  Copyright (c) 1997-2007 University of Cambridge.  Copyright (c) 1997-2007 University of Cambridge.
423  .fi  .fi

Legend:
Removed from v.210  
changed lines
  Added in v.266

  ViewVC Help
Powered by ViewVC 1.1.5