diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /lib/pattern.h | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'lib/pattern.h')
-rw-r--r-- | lib/pattern.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/pattern.h b/lib/pattern.h new file mode 100644 index 00000000..83c1c9f2 --- /dev/null +++ b/lib/pattern.h @@ -0,0 +1,14 @@ +# PATTERN.H -- Pattern Matching Metacharacters (STRMATCH, PATMATCH). + +define CH_BOL '^' # beginning of line symbol +define CH_NOT '^' # not, in character classes +define CH_EOL '$' # end of line symbol +define CH_ANY '?' # match any single character +define CH_CLOSURE '*' # zero or more occurrences +define CH_CCL '[' # begin character class +define CH_CCLEND ']' # end character class +define CH_RANGE '-' # as in [a-z] +define CH_ESCAPE '\\' # escape character +define CH_WHITESPACE '#' # match optional whitespace +define CH_IGNORECASE '{' # begin ignoring case +define CH_MATCHCASE '}' # begin checking case |