PostgreSQL Source Code  git master
regerrs.h
Go to the documentation of this file.
1 /*
2  * src/include/regex/regerrs.h
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", "\"cannot 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 },
76 
77 {
78  REG_ETOOBIG, "REG_ETOOBIG", "regular expression is too complex"
79 },
80 
81 {
82  REG_ECOLORS, "REG_ECOLORS", "too many colors"
83 },
#define REG_BADOPT
Definition: regex.h:154
#define REG_ECTYPE
Definition: regex.h:141
#define REG_NOMATCH
Definition: regex.h:138
#define REG_EBRACK
Definition: regex.h:144
#define REG_ASSERT
Definition: regex.h:151
#define REG_BADRPT
Definition: regex.h:150
#define REG_EESCAPE
Definition: regex.h:142
#define REG_ECOLORS
Definition: regex.h:156
#define REG_INVARG
Definition: regex.h:152
#define REG_ETOOBIG
Definition: regex.h:155
#define REG_OKAY
Definition: regex.h:137
#define REG_ERANGE
Definition: regex.h:148
#define REG_ESUBREG
Definition: regex.h:143
#define REG_BADBR
Definition: regex.h:147
#define REG_MIXED
Definition: regex.h:153
#define REG_ECOLLATE
Definition: regex.h:140
#define REG_EBRACE
Definition: regex.h:146
#define REG_EPAREN
Definition: regex.h:145
#define REG_BADPAT
Definition: regex.h:139
#define REG_ESPACE
Definition: regex.h:149