PostgreSQL Source Code
git master
|
#include "regex/regguts.h"
Go to the source code of this file.
Functions | |
static int | findprefix (struct cnfa *cnfa, struct colormap *cm, chr *string, size_t *slength) |
int | pg_regprefix (regex_t *re, chr **string, size_t *slength) |
|
static |
Definition at line 116 of file regprefix.c.
References cnfa::bos, colormap::cd, carc::co, COLORLESS, cnfa::eos, colordesc::firstchr, GETCOLOR, cnfa::ncolors, colordesc::nschrs, colordesc::nuchrs, cnfa::post, cnfa::pre, RAINBOW, REG_EXACT, REG_NOMATCH, REG_PREFIX, cnfa::states, and carc::to.
Referenced by pg_regprefix().
Definition at line 46 of file regprefix.c.
References assert, guts::cmap, subre::cnfa, findprefix(), cnfa::flags, FREE, if(), guts::info, MALLOC, MATCHALL, cnfa::nstates, pg_set_regex_collation(), REG_ESPACE, REG_EXACT, REG_INVARG, REG_MIXED, REG_NOMATCH, REG_PREFIX, REG_UIMPOSSIBLE, REMAGIC, and guts::tree.
Referenced by regexp_fixed_prefix().