|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Macros | |
| #define | RS_IN_ONEOF 1 |
| #define | RS_IN_ONEOF_IN 2 |
| #define | RS_IN_NONEOF 3 |
| #define | RS_IN_WAIT 4 |
Functions | |
| bool | RS_isRegis (const char *str) |
| static RegisNode * | newRegisNode (RegisNode *prev, int len) |
| void | RS_compile (Regis *r, bool issuffix, const char *str) |
| void | RS_free (Regis *r) |
| static bool | mb_strchr (char *str, char *c) |
| bool | RS_execute (Regis *r, char *str) |
Definition at line 182 of file regis.c.
References fb(), i, pg_mblen(), and str.
Referenced by RS_execute().
Definition at line 74 of file regis.c.
References len, RegisNode::next, palloc0(), and RNHDRSZ.
Referenced by RS_compile().
Definition at line 85 of file regis.c.
References COPYCHAR, RegisNode::data, elog, ERROR, fb(), Regis::issuffix, RegisNode::len, len, Regis::nchar, newRegisNode(), RegisNode::next, Regis::node, pg_mblen(), RS_IN_NONEOF, RS_IN_ONEOF, RS_IN_ONEOF_IN, RS_IN_WAIT, RSF_NONEOF, RSF_ONEOF, str, t_isalpha(), t_iseq, and RegisNode::type.
Referenced by NIAddAffix().
Definition at line 213 of file regis.c.
References RegisNode::data, elog, ERROR, fb(), Regis::issuffix, len, mb_strchr(), Regis::nchar, RegisNode::next, Regis::node, pg_mblen(), RSF_NONEOF, RSF_ONEOF, str, and RegisNode::type.
Referenced by CheckAffix().
Definition at line 166 of file regis.c.
References fb(), RegisNode::next, Regis::node, and pfree().
Definition at line 31 of file regis.c.
References elog, ERROR, pg_mblen(), RS_IN_NONEOF, RS_IN_ONEOF, RS_IN_ONEOF_IN, RS_IN_WAIT, str, t_isalpha(), and t_iseq.
Referenced by NIAddAffix().