Next: Regexp Summary, Previous: Metasymbols, Up: Top [Contents][Index]
This appendix is derived from the gawk-3.0.0 and regex-0.12
manuals.
A regular expression, or regexp, is a way of describing a set of strings. The simplest regular expression is a sequence of letters, numbers, or both. Such a regexp matches any string that contains that sequence. Thus, the regexp ‘foo’ matches any string containing ‘foo’. Other kinds of regular expressions let you specify more complicated classes of strings.
Gcal uses exactly one of the following regular expression programming libraries respectively methods, and that in the decreasing priority how it is chosen at configuration time, or better, compile time of the software:
re_compile_pattern() and regex.h GNU-REGEXregcomp() and regex.h POSIX-REGEXre_comp() BSD-REGEXregcmp() SysV-REGEXregcomp() and regexp.h V8-REGEXNO-REGEXTry ‘gcal --version’ for detecting the kind of regular expression programming library respectively method that is burned in your Gcal program!