RegexStdc extension

POSIX regular expression operations

on

Properties

REG_BADPAT int

Available on Stdc, provided by the RegexStdc extension

Bad pattern
no setter
REG_EXTENDED int

Available on Stdc, provided by the RegexStdc extension

Extended regex
no setter
REG_ICASE int

Available on Stdc, provided by the RegexStdc extension

Ignore case
no setter
REG_NEWLINE int

Available on Stdc, provided by the RegexStdc extension

Match newlines
no setter
REG_NOMATCH int

Available on Stdc, provided by the RegexStdc extension

No match found
no setter
REG_NOSUB int

Available on Stdc, provided by the RegexStdc extension

No sub matches
no setter
REG_NOTBOL int

Available on Stdc, provided by the RegexStdc extension

Not beginning of line
no setter
REG_NOTEOL int

Available on Stdc, provided by the RegexStdc extension

Not end of line
no setter

Methods

regcomp(regex_t preg, String regex, int cflags) int

Available on Stdc, provided by the RegexStdc extension

Compile regex
regerror(int errcode, regex_t preg, List<int> errbuf, int errbuf_size) int

Available on Stdc, provided by the RegexStdc extension

Get regex error string
regexec(regex_t preg, String string, int nmatch, List<regmatch_t> pmatch, int eflags) int

Available on Stdc, provided by the RegexStdc extension

Execute regex match
regfree(regex_t preg) → void

Available on Stdc, provided by the RegexStdc extension

Free regex resources