home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / csso0301.zip / CSSPATH / KCREXLIB.HSS < prev    next >
Text File  |  2000-02-16  |  2KB  |  37 lines

  1. /*  Copyright (c) 2000 IBK-Landquart-Switzerland. All rights reserved.
  2.  *
  3.  *  Module      :  KcRexLib.hss
  4.  *  Application :  CSS Regular Expressions Library: Header
  5.  *  Author      :  Peter Koch, IBK
  6.  *
  7.  *  Date        Description                                 Who
  8.  *  --------------------------------------------------------------------------
  9.  *  Feb 2000    First release                               P.Koch, IBK
  10.  */
  11.  
  12. extern const rexVersion;                 // library version
  13.  
  14. extern const rexOpenExtended;            // use extended syntax
  15. extern const rexOpenIgnorecase;          // ignore case in match
  16. extern const rexOpenNewline;             // convert \n to newline
  17. extern const rexOpenNosubreps;           // ignore # of subexpressions
  18.  
  19. extern const rexMatchNotbol;             // 1st char is not start of line
  20. extern const rexMatchNoteol;             // last char is not end of line
  21.  
  22. rexClose(                                // close regular expression handle
  23.    const handle);                           // rex handle
  24.  
  25. rexMatch(                                // compile regular expression
  26.    const handle,                            // rex handle
  27.    const string,                            // string to match
  28.    const nmatch,                            // # of matches to find
  29.    var &match[][],                          // index & length of every match
  30.   [const flags]);                           // match flags
  31.  
  32. rexOpen(                                 // compile regular expression
  33.    const pattern,                           // pattern to compile
  34.   [const flags]);                           // open flags
  35.  
  36.  
  37.