60 #define REG_UBACKREF 000001
61 #define REG_ULOOKAROUND 000002
62 #define REG_UBOUNDS 000004
63 #define REG_UBRACES 000010
64 #define REG_UBSALNUM 000020
65 #define REG_UPBOTCH 000040
66 #define REG_UBBS 000100
67 #define REG_UNONPOSIX 000200
68 #define REG_UUNSPEC 000400
69 #define REG_UUNPORT 001000
70 #define REG_ULOCALE 002000
71 #define REG_UEMPTYMATCH 004000
72 #define REG_UIMPOSSIBLE 010000
73 #define REG_USHORTEST 020000
100 #define REG_BASIC 000000
101 #define REG_EXTENDED 000001
102 #define REG_ADVF 000002
103 #define REG_ADVANCED 000003
104 #define REG_QUOTE 000004
105 #define REG_NOSPEC REG_QUOTE
106 #define REG_ICASE 000010
107 #define REG_NOSUB 000020
108 #define REG_EXPANDED 000040
109 #define REG_NLSTOP 000100
110 #define REG_NLANCH 000200
111 #define REG_NEWLINE 000300
112 #define REG_PEND 000400
113 #define REG_EXPECT 001000
114 #define REG_BOSONLY 002000
115 #define REG_DUMP 004000
116 #define REG_FAKE 010000
117 #define REG_PROGRESS 020000
124 #define REG_NOTBOL 0001
125 #define REG_NOTEOL 0002
126 #define REG_STARTEND 0004
127 #define REG_FTRACE 0010
128 #define REG_MTRACE 0020
129 #define REG_SMALL 0040
138 #define REG_NOMATCH 1
140 #define REG_ECOLLATE 3
142 #define REG_EESCAPE 5
143 #define REG_ESUBREG 6
148 #define REG_ERANGE 11
149 #define REG_ESPACE 12
150 #define REG_BADRPT 13
151 #define REG_ASSERT 15
152 #define REG_INVARG 16
154 #define REG_BADOPT 18
155 #define REG_ETOOBIG 19
156 #define REG_ECOLORS 20
157 #define REG_CANCEL 21
162 #define REG_PREFIX (-1)
163 #define REG_EXACT (-2)
int pg_regexec(regex_t *, const pg_wchar *, size_t, size_t, rm_detail_t *, size_t, regmatch_t[], int)
void pg_regfree(regex_t *)
int pg_regprefix(regex_t *, pg_wchar **, size_t *)
void pg_set_regex_collation(Oid collation)
int pg_regcomp(regex_t *, const pg_wchar *, size_t, int, Oid)
size_t pg_regerror(int, const regex_t *, char *, size_t)