/[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 208 by ph10, Mon Aug 6 15:23:29 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 348  Each top-level branch of a look behind m Line 348  Each top-level branch of a look behind m
348    (?(assert)...  assertion condition    (?(assert)...  assertion condition
349  .  .
350  .  .
351    .SH "BACKTRACKING CONTROL"
352    .rs
353    .sp
354    The following act immediately they are reached:
355    .sp
356      (*ACCEPT)      force successful match
357      (*FAIL)        force backtrack; synonym (*F)
358    .sp
359    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
361    afterwards. Those that advance the start-of-match point do so only if the
362    pattern is not anchored.
363    .sp
364      (*COMMIT)      overall failure, no advance of starting point
365      (*PRUNE)       advance to next starting character
366      (*SKIP)        advance start to current matching position
367      (*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 376  Cambridge CB2 3QH, England. Line 418  Cambridge CB2 3QH, England.
418  .rs  .rs
419  .sp  .sp
420  .nf  .nf
421  Last updated: 06 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.208  
changed lines
  Added in v.266

  ViewVC Help
Powered by ViewVC 1.1.5