PostgreSQL Source Code
git master
|
#include "regex/regex.h"
Go to the source code of this file.
Data Structures | |
struct | regex_arc_t |
Macros | |
#define | COLOR_WHITE 0 /* color for chars not appearing in regex */ |
#define | COLOR_RAINBOW (-2) /* represents all colors except pseudocolors */ |
Functions | |
int | pg_reg_getnumstates (const regex_t *regex) |
int | pg_reg_getinitialstate (const regex_t *regex) |
int | pg_reg_getfinalstate (const regex_t *regex) |
int | pg_reg_getnumoutarcs (const regex_t *regex, int st) |
void | pg_reg_getoutarcs (const regex_t *regex, int st, regex_arc_t *arcs, int arcs_len) |
int | pg_reg_getnumcolors (const regex_t *regex) |
int | pg_reg_colorisbegin (const regex_t *regex, int co) |
int | pg_reg_colorisend (const regex_t *regex, int co) |
int | pg_reg_getnumcharacters (const regex_t *regex, int co) |
void | pg_reg_getcharacters (const regex_t *regex, int co, pg_wchar *chars, int chars_len) |
#define COLOR_RAINBOW (-2) /* represents all colors except pseudocolors */ |
Definition at line 35 of file regexport.h.
Definition at line 34 of file regexport.h.
int pg_reg_colorisbegin | ( | const regex_t * | regex, |
int | co | ||
) |
Definition at line 191 of file regexport.c.
References assert, cnfa::bos, and REMAGIC.
Referenced by addKey().
int pg_reg_colorisend | ( | const regex_t * | regex, |
int | co | ||
) |
Definition at line 266 of file regexport.c.
References assert, colormap::cd, chars, CHR_MIN, colordesc::flags, colormap::locolormap, colormap::max, MAX_SIMPLE_CHR, PSEUDO, and REMAGIC.
Referenced by getColorInfo().
int pg_reg_getfinalstate | ( | const regex_t * | regex | ) |
Definition at line 64 of file regexport.c.
References assert, cnfa::post, and REMAGIC.
Referenced by addKey().
int pg_reg_getinitialstate | ( | const regex_t * | regex | ) |
Definition at line 50 of file regexport.c.
References assert, cnfa::pre, and REMAGIC.
Referenced by transformGraph().
int pg_reg_getnumcharacters | ( | const regex_t * | regex, |
int | co | ||
) |
Definition at line 230 of file regexport.c.
References assert, colormap::cd, colordesc::flags, colormap::max, colordesc::nschrs, colordesc::nuchrs, PSEUDO, and REMAGIC.
Referenced by getColorInfo().
int pg_reg_getnumcolors | ( | const regex_t * | regex | ) |
Definition at line 174 of file regexport.c.
References assert, colormap::max, and REMAGIC.
Referenced by getColorInfo().
int pg_reg_getnumoutarcs | ( | const regex_t * | regex, |
int | st | ||
) |
Definition at line 134 of file regexport.c.
References assert, cnfa::nstates, REMAGIC, and traverse_lacons().
int pg_reg_getnumstates | ( | const regex_t * | regex | ) |
void pg_reg_getoutarcs | ( | const regex_t * | regex, |
int | st, | ||
regex_arc_t * | arcs, | ||
int | arcs_len | ||
) |
Definition at line 155 of file regexport.c.
References assert, cnfa::nstates, REMAGIC, and traverse_lacons().