3 |
*************************************************/ |
*************************************************/ |
4 |
|
|
5 |
|
|
6 |
#define PCRE_VERSION "1.01 19-Nov-1997" |
#define PCRE_VERSION "1.02 12-Dec-1997" |
7 |
|
|
8 |
|
|
9 |
/* This is a library of functions to support regular expressions whose syntax |
/* This is a library of functions to support regular expressions whose syntax |
108 |
|
|
109 |
/* Opcode table: OP_BRA must be last, as all values >= it are used for brackets |
/* Opcode table: OP_BRA must be last, as all values >= it are used for brackets |
110 |
that extract substrings. Starting from 1 (i.e. after OP_END), the values up to |
that extract substrings. Starting from 1 (i.e. after OP_END), the values up to |
111 |
OP_EOL must correspond in order to the list of escapes immediately above. */ |
OP_EOD must correspond in order to the list of escapes immediately above. */ |
112 |
|
|
113 |
enum { |
enum { |
114 |
OP_END, /* End of pattern */ |
OP_END, /* End of pattern */ |
125 |
OP_NOT_WORDCHAR, /* \W */ |
OP_NOT_WORDCHAR, /* \W */ |
126 |
OP_WORDCHAR, /* \w */ |
OP_WORDCHAR, /* \w */ |
127 |
OP_CUT, /* The analogue of Prolog's "cut" operation (extension) */ |
OP_CUT, /* The analogue of Prolog's "cut" operation (extension) */ |
128 |
OP_EOD, /* End of data: or \Z. This must always be the last |
OP_EOD, /* End of data: \Z. */ |
|
of the backslashed meta values. */ |
|
129 |
|
|
130 |
OP_CIRC, /* Start of line - varies with multiline switch */ |
OP_CIRC, /* Start of line - varies with multiline switch */ |
131 |
OP_DOLL, /* End of line - varies with multiline switch */ |
OP_DOLL, /* End of line - varies with multiline switch */ |