MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Introduction to Library Functions                   PCRESTUDY(3)



NAME
     PCRE - Perl-compatible regular expressions

SYNOPSIS

     #include 

     pcreextra *pcrestudy(const pcre *code, int options,
          const char **errptr);

DESCRIPTION

     This function studies a compiled pattern, to  see  if  addi-
     tional  information  can  be  extracted  that might speed up
     matching. Its arguments are:

       code       A compiled regular expression
       options    Options for pcrestudy()
       errptr     Where to put an error message

     If the function succeeds, it returns a  value  that  can  be
     passed to pcreexec() via its extra argument.

     If the function returns NUL, either it could not  find  any
     additional  information, or there was an error. You can tell
     the difference by looking at the error value. It is NUL  in
     first case.

     There are currently no options defined;  the  value  of  the
     second argument should always be zero.

     There is a complete description of the PCRE  native  API  in
     the  pcreapi  page and a description of the POSIX API in the
     pcreposix page.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

     
       ATRIBUTE TYPE     ATRIBUTE VALUE
    
     Availability         SUNWpcre       
    
     Interface Stability  Uncommitted    
    

NOTES
     Source for PCRE is available on http:/opensolaris.org.






SunOS 5.10                Last change:                          1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™