Print this page
8993 sync regcomp(3C) with upstream

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/port/regex/regex2.h
          +++ new/usr/src/lib/libc/port/regex/regex2.h
↓ open down ↓ 178 lines elided ↑ open up ↑
 179  179          int *charjump;          /* Boyer-Moore char jump table */
 180  180          int *matchjump;         /* Boyer-Moore match jump table */
 181  181          int mlen;               /* length of must */
 182  182          size_t nsub;            /* copy of re_nsub */
 183  183          int backrefs;           /* does it use back references? */
 184  184          sopno nplus;            /* how deep does it nest +s? */
 185  185  };
 186  186  
 187  187  /* misc utilities */
 188  188  #define OUT     (CHAR_MIN - 1)  /* a non-character value */
      189 +#define IGN     (CHAR_MIN - 2)
 189  190  #define ISWORD(c)       (iswalnum((uch)(c)) || (c) == '_')
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX