|
11 | 11 | * See the sre.c file for information on usage and redistribution. |
12 | 12 | */ |
13 | 13 |
|
14 | | -#define SRE_MAGIC 20220402 |
| 14 | +#define SRE_MAGIC 20220423 |
15 | 15 | #define SRE_OP_FAILURE 0 |
16 | 16 | #define SRE_OP_SUCCESS 1 |
17 | 17 | #define SRE_OP_ANY 2 |
|
20 | 20 | #define SRE_OP_ASSERT_NOT 5 |
21 | 21 | #define SRE_OP_AT 6 |
22 | 22 | #define SRE_OP_BRANCH 7 |
23 | | -#define SRE_OP_CALL 8 |
24 | | -#define SRE_OP_CATEGORY 9 |
25 | | -#define SRE_OP_CHARSET 10 |
26 | | -#define SRE_OP_BIGCHARSET 11 |
27 | | -#define SRE_OP_GROUPREF 12 |
28 | | -#define SRE_OP_GROUPREF_EXISTS 13 |
29 | | -#define SRE_OP_IN 14 |
30 | | -#define SRE_OP_INFO 15 |
31 | | -#define SRE_OP_JUMP 16 |
32 | | -#define SRE_OP_LITERAL 17 |
33 | | -#define SRE_OP_MARK 18 |
34 | | -#define SRE_OP_MAX_UNTIL 19 |
35 | | -#define SRE_OP_MIN_UNTIL 20 |
36 | | -#define SRE_OP_NOT_LITERAL 21 |
37 | | -#define SRE_OP_NEGATE 22 |
38 | | -#define SRE_OP_RANGE 23 |
39 | | -#define SRE_OP_REPEAT 24 |
40 | | -#define SRE_OP_REPEAT_ONE 25 |
41 | | -#define SRE_OP_SUBPATTERN 26 |
42 | | -#define SRE_OP_MIN_REPEAT_ONE 27 |
43 | | -#define SRE_OP_ATOMIC_GROUP 28 |
44 | | -#define SRE_OP_POSSESSIVE_REPEAT 29 |
45 | | -#define SRE_OP_POSSESSIVE_REPEAT_ONE 30 |
46 | | -#define SRE_OP_GROUPREF_IGNORE 31 |
47 | | -#define SRE_OP_IN_IGNORE 32 |
48 | | -#define SRE_OP_LITERAL_IGNORE 33 |
49 | | -#define SRE_OP_NOT_LITERAL_IGNORE 34 |
50 | | -#define SRE_OP_GROUPREF_LOC_IGNORE 35 |
51 | | -#define SRE_OP_IN_LOC_IGNORE 36 |
52 | | -#define SRE_OP_LITERAL_LOC_IGNORE 37 |
53 | | -#define SRE_OP_NOT_LITERAL_LOC_IGNORE 38 |
54 | | -#define SRE_OP_GROUPREF_UNI_IGNORE 39 |
55 | | -#define SRE_OP_IN_UNI_IGNORE 40 |
56 | | -#define SRE_OP_LITERAL_UNI_IGNORE 41 |
57 | | -#define SRE_OP_NOT_LITERAL_UNI_IGNORE 42 |
58 | | -#define SRE_OP_RANGE_UNI_IGNORE 43 |
| 23 | +#define SRE_OP_CATEGORY 8 |
| 24 | +#define SRE_OP_CHARSET 9 |
| 25 | +#define SRE_OP_BIGCHARSET 10 |
| 26 | +#define SRE_OP_GROUPREF 11 |
| 27 | +#define SRE_OP_GROUPREF_EXISTS 12 |
| 28 | +#define SRE_OP_IN 13 |
| 29 | +#define SRE_OP_INFO 14 |
| 30 | +#define SRE_OP_JUMP 15 |
| 31 | +#define SRE_OP_LITERAL 16 |
| 32 | +#define SRE_OP_MARK 17 |
| 33 | +#define SRE_OP_MAX_UNTIL 18 |
| 34 | +#define SRE_OP_MIN_UNTIL 19 |
| 35 | +#define SRE_OP_NOT_LITERAL 20 |
| 36 | +#define SRE_OP_NEGATE 21 |
| 37 | +#define SRE_OP_RANGE 22 |
| 38 | +#define SRE_OP_REPEAT 23 |
| 39 | +#define SRE_OP_REPEAT_ONE 24 |
| 40 | +#define SRE_OP_SUBPATTERN 25 |
| 41 | +#define SRE_OP_MIN_REPEAT_ONE 26 |
| 42 | +#define SRE_OP_ATOMIC_GROUP 27 |
| 43 | +#define SRE_OP_POSSESSIVE_REPEAT 28 |
| 44 | +#define SRE_OP_POSSESSIVE_REPEAT_ONE 29 |
| 45 | +#define SRE_OP_GROUPREF_IGNORE 30 |
| 46 | +#define SRE_OP_IN_IGNORE 31 |
| 47 | +#define SRE_OP_LITERAL_IGNORE 32 |
| 48 | +#define SRE_OP_NOT_LITERAL_IGNORE 33 |
| 49 | +#define SRE_OP_GROUPREF_LOC_IGNORE 34 |
| 50 | +#define SRE_OP_IN_LOC_IGNORE 35 |
| 51 | +#define SRE_OP_LITERAL_LOC_IGNORE 36 |
| 52 | +#define SRE_OP_NOT_LITERAL_LOC_IGNORE 37 |
| 53 | +#define SRE_OP_GROUPREF_UNI_IGNORE 38 |
| 54 | +#define SRE_OP_IN_UNI_IGNORE 39 |
| 55 | +#define SRE_OP_LITERAL_UNI_IGNORE 40 |
| 56 | +#define SRE_OP_NOT_LITERAL_UNI_IGNORE 41 |
| 57 | +#define SRE_OP_RANGE_UNI_IGNORE 42 |
59 | 58 | #define SRE_AT_BEGINNING 0 |
60 | 59 | #define SRE_AT_BEGINNING_LINE 1 |
61 | 60 | #define SRE_AT_BEGINNING_STRING 2 |
|
0 commit comments