version 1.1.1.1, 2012/02/21 17:26:12
|
version 1.1.1.2, 2016/11/02 10:09:11
|
Line 165 typedef unsigned long int reg_syntax_t;
|
Line 165 typedef unsigned long int reg_syntax_t;
|
stored in the pattern buffer, so changing this does not affect |
stored in the pattern buffer, so changing this does not affect |
already-compiled regexps. */ |
already-compiled regexps. */ |
extern reg_syntax_t re_syntax_options; |
extern reg_syntax_t re_syntax_options; |
| |
/* Define combinations of the above bits for the standard possibilities. |
/* Define combinations of the above bits for the standard possibilities. |
(The [[[ comments delimit what gets put into the Texinfo file, so |
(The [[[ comments delimit what gets put into the Texinfo file, so |
don't delete them!) */ |
don't delete them!) */ |
Line 234 extern reg_syntax_t re_syntax_options;
|
Line 234 extern reg_syntax_t re_syntax_options;
|
| RE_NO_BK_PARENS | RE_NO_BK_REFS \ |
| RE_NO_BK_PARENS | RE_NO_BK_REFS \ |
| RE_NO_BK_VBAR | RE_UNMATCHED_RIGHT_PAREN_ORD) |
| RE_NO_BK_VBAR | RE_UNMATCHED_RIGHT_PAREN_ORD) |
/* [[[end syntaxes]]] */ |
/* [[[end syntaxes]]] */ |
| |
/* Maximum number of duplicates an interval can allow. Some systems |
/* Maximum number of duplicates an interval can allow. Some systems |
(erroneously) define this in other header files, but we want our |
(erroneously) define this in other header files, but we want our |
value, so remove any previous define. */ |
value, so remove any previous define. */ |
Line 309 typedef enum
|
Line 309 typedef enum
|
REG_ESIZE, /* Compiled pattern bigger than 2^16 bytes. */ |
REG_ESIZE, /* Compiled pattern bigger than 2^16 bytes. */ |
REG_ERPAREN /* Unmatched ) or \); not returned from regcomp. */ |
REG_ERPAREN /* Unmatched ) or \); not returned from regcomp. */ |
} reg_errcode_t; |
} reg_errcode_t; |
| |
/* This data structure represents a compiled pattern. Before calling |
/* This data structure represents a compiled pattern. Before calling |
the pattern compiler, the fields `buffer', `allocated', `fastmap', |
the pattern compiler, the fields `buffer', `allocated', `fastmap', |
`translate', and `no_sub' can be set. After the pattern has been |
`translate', and `no_sub' can be set. After the pattern has been |
Line 389 struct re_pattern_buffer
|
Line 389 struct re_pattern_buffer
|
}; |
}; |
|
|
typedef struct re_pattern_buffer regex_t; |
typedef struct re_pattern_buffer regex_t; |
| |
/* Type for byte offsets within the string. POSIX mandates this. */ |
/* Type for byte offsets within the string. POSIX mandates this. */ |
typedef int regoff_t; |
typedef int regoff_t; |
|
|
Line 420 typedef struct
|
Line 420 typedef struct
|
regoff_t rm_so; /* Byte offset from string's start to substring's start. */ |
regoff_t rm_so; /* Byte offset from string's start to substring's start. */ |
regoff_t rm_eo; /* Byte offset from string's start to substring's end. */ |
regoff_t rm_eo; /* Byte offset from string's start to substring's end. */ |
} regmatch_t; |
} regmatch_t; |
| |
/* Declarations for routines. */ |
/* Declarations for routines. */ |
|
|
/* To avoid duplicating every routine declaration -- once with a |
/* To avoid duplicating every routine declaration -- once with a |
Line 532 extern void regfree _RE_ARGS ((regex_t *__preg));
|
Line 532 extern void regfree _RE_ARGS ((regex_t *__preg));
|
#endif /* C++ */ |
#endif /* C++ */ |
|
|
#endif /* regex.h */ |
#endif /* regex.h */ |
| |
/* |
/* |
Local variables: |
Local variables: |
make-backup-files: t |
make-backup-files: t |