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

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

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

revision 64 by nigel, Sat Feb 24 21:40:03 2007 UTC revision 65 by nigel, Sat Feb 24 21:40:08 2007 UTC
# Line 520  fourth argument should point to an \fBun Line 520  fourth argument should point to an \fBun
520    
521    PCRE_INFO_LASTLITERAL    PCRE_INFO_LASTLITERAL
522    
523  For a non-anchored pattern, return the value of the rightmost literal byte  Return the value of the rightmost literal byte that must exist in any matched
524  which must exist in any matched string, other than at its start. The fourth  string, other than at its start, if such a byte has been recorded. The fourth
525  argument should point to an \fBint\fR variable. If there is no such byte, or if  argument should point to an \fBint\fR variable. If there is no such byte, -1 is
526  the pattern is anchored, -1 is returned. For example, for the pattern  returned. For anchored patterns, a last literal byte is recorded only if it
527  /a\\d+z\\d+/ the returned value is 'z'.  follows something of variable length. For example, for the pattern
528    /^a\\d+z\\d+/ the returned value is "z", but for /^a\\dz\\d/ the returned value
529    is -1.
530    
531    PCRE_INFO_NAMECOUNT    PCRE_INFO_NAMECOUNT
532    PCRE_INFO_NAMEENTRYSIZE    PCRE_INFO_NAMEENTRYSIZE

Legend:
Removed from v.64  
changed lines
  Added in v.65

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12