/[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 227 by ph10, Tue Aug 21 15:00:15 2007 UTC revision 345 by ph10, Mon Apr 28 15:10:02 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 370  pattern is not anchored. Line 380  pattern is not anchored.
380  .SH "NEWLINE CONVENTIONS"  .SH "NEWLINE CONVENTIONS"
381  .rs  .rs
382  .sp  .sp
383  These are recognized only at the very start of a pattern.  These are recognized only at the very start of the pattern or after a
384    (*BSR_...) option.
385  .sp  .sp
386    (*CR)    (*CR)
387    (*LF)    (*LF)
# Line 379  These are recognized only at the very st Line 390  These are recognized only at the very st
390    (*ANY)    (*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 407  Cambridge CB2 3QH, England. Line 428  Cambridge CB2 3QH, England.
428  .rs  .rs
429  .sp  .sp
430  .nf  .nf
431  Last updated: 21 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.227  
changed lines
  Added in v.345

  ViewVC Help
Powered by ViewVC 1.1.5