123 "carriage-return",
'\r'
195 "exclamation-mark",
'!'
198 "quotation-mark",
'"'
216 "left-parenthesis",
'('
219 "right-parenthesis",
')'
285 "less-than-sign",
'<'
291 "greater-than-sign",
'>'
300 "left-square-bracket",
'['
306 "reverse-solidus",
'\\'
309 "right-square-bracket",
']'
315 "circumflex-accent",
'^'
330 "left-curly-bracket",
'{'
339 "right-curly-bracket",
'}'
357 "alnum",
"alpha",
"ascii",
"blank",
"cntrl",
"digit",
"graph",
358 "lower",
"print",
"punct",
"space",
"upper",
"xdigit",
"word",
380 const struct cname *cn;
400 if (cn->
name != NULL)
447 if (nchrs <= 0 || nchrs > 100000)
454 for (
c =
a;
c <=
b;
c++)
541 const char *
const *namePtr;
548 for (namePtr =
classNames,
i = 0; *namePtr != NULL; namePtr++,
i++)
550 if (strlen(*namePtr) ==
len &&
573 struct cvec *cv = NULL;
static void addchr(struct cvec *cv, chr c)
static void addrange(struct cvec *cv, chr from, chr to)
static struct cvec * getcvec(struct vars *v, int nchrs, int nranges)
static struct cvec * cclasscvec(struct vars *v, enum char_classes cclasscode, int cases)
static struct cvec * range(struct vars *v, chr a, chr b, int cases)
static int casecmp(const chr *x, const chr *y, size_t len)
static enum char_classes lookupcclass(struct vars *v, const chr *startp, const chr *endp)
static struct cvec * eclass(struct vars *v, chr c, int cases)
static int cmp(const chr *x, const chr *y, size_t len)
static const char *const classNames[NUM_CCLASSES+1]
static struct cvec * allcases(struct vars *v, chr c)
static chr element(struct vars *v, const chr *startp, const chr *endp)
static const struct cname cnames[]
static int before(chr x, chr y)
static int cclass_column_index(struct colormap *cm, chr c)
static int pg_wc_islower(pg_wchar c)
static int pg_wc_isword(pg_wchar c)
static int pg_wc_isspace(pg_wchar c)
static pg_wchar pg_wc_tolower(pg_wchar c)
static int pg_wc_ispunct(pg_wchar c)
static int pg_wc_isgraph(pg_wchar c)
static pg_wchar pg_wc_toupper(pg_wchar c)
static struct cvec * pg_ctype_get_cache(pg_wc_probefunc probefunc, int cclasscode)
static int pg_wc_isprint(pg_wchar c)
static int pg_wc_isalnum(pg_wchar c)
static int pg_wc_isdigit(pg_wchar c)
static int pg_wc_isupper(pg_wchar c)
static int pg_wc_isalpha(pg_wchar c)
int classbits[NUM_CCLASSES]
int pg_char_and_wchar_strncmp(const char *s1, const pg_wchar *s2, size_t n)