]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * $Id$ | |
3 | */ | |
4 | ||
5 | { | |
6 | REG_OKAY, "REG_OKAY", "no errors detected" | |
7 | }, | |
8 | ||
9 | { | |
10 | REG_NOMATCH, "REG_NOMATCH", "failed to match" | |
11 | }, | |
12 | ||
13 | { | |
14 | REG_BADPAT, "REG_BADPAT", "invalid regexp (reg version 0.8)" | |
15 | }, | |
16 | ||
17 | { | |
18 | REG_ECOLLATE, "REG_ECOLLATE", "invalid collating element" | |
19 | }, | |
20 | ||
21 | { | |
22 | REG_ECTYPE, "REG_ECTYPE", "invalid character class" | |
23 | }, | |
24 | ||
25 | { | |
26 | REG_EESCAPE, "REG_EESCAPE", "invalid escape \\ sequence" | |
27 | }, | |
28 | ||
29 | { | |
30 | REG_ESUBREG, "REG_ESUBREG", "invalid backreference number" | |
31 | }, | |
32 | ||
33 | { | |
34 | REG_EBRACK, "REG_EBRACK", "brackets [] not balanced" | |
35 | }, | |
36 | ||
37 | { | |
38 | REG_EPAREN, "REG_EPAREN", "parentheses () not balanced" | |
39 | }, | |
40 | ||
41 | { | |
42 | REG_EBRACE, "REG_EBRACE", "braces {} not balanced" | |
43 | }, | |
44 | ||
45 | { | |
46 | REG_BADBR, "REG_BADBR", "invalid repetition count(s)" | |
47 | }, | |
48 | ||
49 | { | |
50 | REG_ERANGE, "REG_ERANGE", "invalid character range" | |
51 | }, | |
52 | ||
53 | { | |
54 | REG_ESPACE, "REG_ESPACE", "out of memory" | |
55 | }, | |
56 | ||
57 | { | |
58 | REG_BADRPT, "REG_BADRPT", "quantifier operand invalid" | |
59 | }, | |
60 | ||
61 | { | |
62 | REG_ASSERT, "REG_ASSERT", "\"can't happen\" -- you found a bug" | |
63 | }, | |
64 | ||
65 | { | |
66 | REG_INVARG, "REG_INVARG", "invalid argument to regex function" | |
67 | }, | |
68 | ||
69 | { | |
70 | REG_MIXED, "REG_MIXED", "character widths of regex and string differ" | |
71 | }, | |
72 | ||
73 | { | |
74 | REG_BADOPT, "REG_BADOPT", "invalid embedded option" | |
75 | }, |