48 #include <casacore/casa/aips.h> 72 #define RE_NO_BK_PARENS 1 77 #define RE_NO_BK_VBAR (1 << 1) 82 #define RE_BK_PLUS_QM (1 << 2) 86 #define RE_TIGHT_VBAR (1 << 3) 90 #define RE_NEWLINE_OR (1 << 4) 100 #define RE_CONTEXT_INDEP_OPS (1 << 5) 106 #define RE_AWK_CLASS_HACK (1 << 6) 110 #define RE_INTERVALS (1 << 7) 116 #define RE_NO_BK_CURLY_BRACES (1 << 8) 122 #define RE_CHAR_CLASSES (1 << 9) 126 #define RE_DOT_NOT_NULL (1 << 10) 130 #define RE_HAT_NOT_NEWLINE (1 << 11) 134 #define RE_NO_BK_REFS (1 << 12) 139 #define RE_NO_EMPTY_BK_REF (1 << 13) 143 #define RE_NO_EMPTY_BRACKETS (1 << 14) 150 #define RE_CONTEXTUAL_INVALID_OPS (1 << 15) 154 #define RE_LIMITED_OPS (1 << 16) 160 #define RE_NO_EMPTY_RANGES (1 << 17) 164 #define RE_NO_HYPHEN_RANGE_END (1 << 18) 168 #define RE_SYNTAX_POSIX_AWK (RE_NO_BK_PARENS | RE_NO_BK_VBAR \ 169 | RE_CONTEXT_INDEP_OPS) 170 #define RE_SYNTAX_AWK (RE_NO_BK_PARENS | RE_NO_BK_VBAR \ 171 | RE_CONTEXT_INDEP_OPS | RE_AWK_CLASS_HACK) 172 #define RE_SYNTAX_EGREP (RE_NO_BK_PARENS | RE_NO_BK_VBAR \ 173 | RE_CONTEXT_INDEP_OPS | RE_NEWLINE_OR) 174 #define RE_SYNTAX_GREP (RE_BK_PLUS_QM | RE_NEWLINE_OR) 175 #define RE_SYNTAX_EMACS 0 176 #define RE_SYNTAX_POSIX_BASIC (RE_INTERVALS | RE_BK_PLUS_QM \ 177 | RE_CHAR_CLASSES | RE_DOT_NOT_NULL \ 178 | RE_HAT_NOT_NEWLINE | RE_NO_EMPTY_BK_REF \ 179 | RE_NO_EMPTY_BRACKETS | RE_LIMITED_OPS \ 180 | RE_NO_EMPTY_RANGES | RE_NO_HYPHEN_RANGE_END) 182 #define RE_SYNTAX_POSIX_EXTENDED (RE_INTERVALS | RE_NO_BK_CURLY_BRACES \ 183 | RE_NO_BK_VBAR | RE_NO_BK_PARENS \ 184 | RE_HAT_NOT_NEWLINE | RE_CHAR_CLASSES \ 185 | RE_NO_EMPTY_BRACKETS | RE_CONTEXTUAL_INVALID_OPS \ 186 | RE_NO_BK_REFS | RE_NO_EMPTY_RANGES \ 187 | RE_NO_HYPHEN_RANGE_END) 229 #define RE_EXACTN_VALUE 1 260 #if defined(__STDC__) || defined(__cplusplus) 263 extern int a2_re_set_syntax (
int syntax);
269 char *,
int,
int,
int,
Data structure to store register contents data in.
This data structure is used to represent a compiled pattern.
void a2_re_compile_fastmap()
const char * a2_re_compile_pattern()
this file contains all the compiler specific defines