/[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 211 by ph10, Thu Aug 9 09:52:43 2007 UTC revision 333 by ph10, Thu Apr 10 19:55:57 2008 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 304  In PCRE, POSIX character set names recog Line 304  In PCRE, POSIX character set names recog
304    (?<!...)       negative look behind    (?<!...)       negative look behind
305  .sp  .sp
306  Each top-level branch of a look behind must be of a fixed length.  Each top-level branch of a look behind must be of a fixed length.
307    .
308    .
309  .SH "BACKREFERENCES"  .SH "BACKREFERENCES"
310  .rs  .rs
311  .sp  .sp
# Line 327  Each top-level branch of a look behind m Line 329  Each top-level branch of a look behind m
329    (?-n)          call subpattern by relative number    (?-n)          call subpattern by relative number
330    (?&name)       call subpattern by name (Perl)    (?&name)       call subpattern by name (Perl)
331    (?P>name)      call subpattern by name (Python)    (?P>name)      call subpattern by name (Python)
332      \eg<name>       call subpattern by name (Oniguruma)
333      \eg'name'       call subpattern by name (Oniguruma)
334      \eg<n>          call subpattern by absolute number (Oniguruma)
335      \eg'n'          call subpattern by absolute number (Oniguruma)
336      \eg<+n>         call subpattern by relative number (PCRE extension)
337      \eg'+n'         call subpattern by relative number (PCRE extension)
338      \eg<-n>         call subpattern by relative number (PCRE extension)
339      \eg'-n'         call subpattern by relative number (PCRE extension)
340  .  .
341  .  .
342  .SH "CONDITIONAL PATTERNS"  .SH "CONDITIONAL PATTERNS"
# Line 367  pattern is not anchored. Line 377  pattern is not anchored.
377    (*THEN)        local failure, backtrack to next alternation    (*THEN)        local failure, backtrack to next alternation
378  .  .
379  .  .
380    .SH "NEWLINE CONVENTIONS"
381    .rs
382    .sp
383    These are recognized only at the very start of the pattern or after a
384    (*BSR_...) option.
385    .sp
386      (*CR)
387      (*LF)
388      (*CRLF)
389      (*ANYCRLF)
390      (*ANY)
391    .
392    .
393    .SH "WHAT \eR MATCHES"
394    .rs
395    .sp
396    These are recognized only at the very start of the pattern or after a
397    (*...) option that sets the newline convention.
398    .sp
399      (*BSR_ANYCRLF)
400      (*BSR_UNICODE)
401    .
402    .
403  .SH "CALLOUTS"  .SH "CALLOUTS"
404  .rs  .rs
405  .sp  .sp
# Line 395  Cambridge CB2 3QH, England. Line 428  Cambridge CB2 3QH, England.
428  .rs  .rs
429  .sp  .sp
430  .nf  .nf
431  Last updated: 08 August 2007  Last updated: 09 April 2008
432  Copyright (c) 1997-2007 University of Cambridge.  Copyright (c) 1997-2008 University of Cambridge.
433  .fi  .fi

Legend:
Removed from v.211  
changed lines
  Added in v.333

  ViewVC Help
Powered by ViewVC 1.1.5