/*************************************************************************************************************************************/ /* */ /* E D I T I O N D E T O U S L E S P A R A M E T R E S D E S */ /* " E X P R E S S I O N S " R E G U L I E R E S ( A L A ' sed ' ) */ /* P O U R ' SYSTEME_APC_LinuxRedHat_GCC ' : */ /* */ /* */ /* Author of '$xtc/regul_exp.51$c' : */ /* */ /* Jean-Francois COLONNA (LACTAMME, AAAAMMJJhhmmss). */ /* */ /*************************************************************************************************************************************/ #include <stdio.h> #include <regex.h> main() { printf("\n\n re_compile_pattern(...)' :\n"); printf("\n RE_BACKSLASH_ESCAPE_IN_LISTS.................. = 0x%08x",RE_BACKSLASH_ESCAPE_IN_LISTS); printf("\n RE_BK_PLUS_QM................................. = 0x%08x",RE_BK_PLUS_QM); printf("\n RE_CHAR_CLASSES............................... = 0x%08x",RE_CHAR_CLASSES); printf("\n RE_CONTEXT_INDEP_ANCHORS...................... = 0x%08x",RE_CONTEXT_INDEP_ANCHORS); printf("\n RE_CONTEXT_INDEP_OPS.......................... = 0x%08x",RE_CONTEXT_INDEP_OPS); printf("\n RE_CONTEXT_INVALID_OPS........................ = 0x%08x",RE_CONTEXT_INVALID_OPS); printf("\n RE_DOT_NEWLINE................................ = 0x%08x",RE_DOT_NEWLINE); printf("\n RE_DOT_NOT_NULL............................... = 0x%08x",RE_DOT_NOT_NULL); printf("\n RE_HAT_LISTS_NOT_NEWLINE...................... = 0x%08x",RE_HAT_LISTS_NOT_NEWLINE); printf("\n RE_INTERVALS.................................. = 0x%08x",RE_INTERVALS); printf("\n RE_LIMITED_OPS................................ = 0x%08x",RE_LIMITED_OPS); printf("\n RE_NEWLINE_ALT................................ = 0x%08x",RE_NEWLINE_ALT); printf("\n RE_NO_BK_BRACES............................... = 0x%08x",RE_NO_BK_BRACES); printf("\n RE_NO_BK_PARENS............................... = 0x%08x",RE_NO_BK_PARENS); printf("\n RE_NO_BK_REFS................................. = 0x%08x",RE_NO_BK_REFS); printf("\n RE_NO_BK_VBAR................................. = 0x%08x",RE_NO_BK_VBAR); printf("\n RE_NO_EMPTY_RANGES............................ = 0x%08x",RE_NO_EMPTY_RANGES); printf("\n RE_UNMATCHED_RIGHT_PAREN_ORD.................. = 0x%08x",RE_UNMATCHED_RIGHT_PAREN_ORD); printf("\n RE_NO_POSIX_BACKTRACKING...................... = 0x%08x",RE_NO_POSIX_BACKTRACKING); printf("\n RE_NO_GNU_OPS................................. = 0x%08x",RE_NO_GNU_OPS); printf("\n RE_DEBUG...................................... = 0x%08x",RE_DEBUG); printf("\n RE_SYNTAX_EMACS............................... = 0x%08x",RE_SYNTAX_EMACS); printf("\n RE_SYNTAX_AWK................................. = 0x%08x",RE_SYNTAX_AWK); printf("\n RE_SYNTAX_GNU_AWK............................. = 0x%08x",RE_SYNTAX_GNU_AWK); printf("\n RE_SYNTAX_POSIX_AWK........................... = 0x%08x",RE_SYNTAX_POSIX_AWK); printf("\n RE_SYNTAX_GREP................................ = 0x%08x",RE_SYNTAX_GREP); printf("\n RE_SYNTAX_EGREP............................... = 0x%08x",RE_SYNTAX_EGREP); printf("\n RE_SYNTAX_POSIX_EGREP......................... = 0x%08x",RE_SYNTAX_POSIX_EGREP); printf("\n RE_SYNTAX_ED.................................. = 0x%08x",RE_SYNTAX_ED); printf("\n RE_SYNTAX_SED................................. = 0x%08x",RE_SYNTAX_SED); printf("\n _RE_SYNTAX_POSIX_COMMON....................... = 0x%08x",_RE_SYNTAX_POSIX_COMMON); printf("\n RE_SYNTAX_POSIX_BASIC......................... = 0x%08x",RE_SYNTAX_POSIX_BASIC); printf("\n RE_SYNTAX_POSIX_MINIMAL_BASIC................. = 0x%08x",RE_SYNTAX_POSIX_MINIMAL_BASIC); printf("\n RE_SYNTAX_POSIX_EXTENDED...................... = 0x%08x",RE_SYNTAX_POSIX_EXTENDED); printf("\n RE_SYNTAX_POSIX_MINIMAL_EXTENDED.............. = 0x%08x",RE_SYNTAX_POSIX_MINIMAL_EXTENDED); printf("\n\n regcomp(...)' :\n"); printf("\n REG_EXTENDED.................................. = 0x%08x",REG_EXTENDED); printf("\n REG_ICASE..................................... = 0x%08x",REG_ICASE); printf("\n REG_NEWLINE................................... = 0x%08x",REG_NEWLINE); printf("\n REG_NOSUB..................................... = 0x%08x",REG_NOSUB); printf("\n\n regexec(...)' :\n"); printf("\n REG_NOTBOL.................................... = 0x%08x",REG_NOTBOL); printf("\n REG_NOTEOL.................................... = 0x%08x",REG_NOTEOL); printf("\n"); }