diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-02-26 19:06:03 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-02-26 19:06:03 +0000 |
commit | 3b0bdc723579a7c6df2cace0115a6ca0977d73f9 (patch) | |
tree | 8b6d7f9ab35be46faadc9e778abc1ce632fe98d0 /posix/regex.h | |
parent | 73f1b06797637163b8529f4c7fa4b02b90c0154c (diff) | |
download | glibc-3b0bdc723579a7c6df2cace0115a6ca0977d73f9.zip glibc-3b0bdc723579a7c6df2cace0115a6ca0977d73f9.tar.gz glibc-3b0bdc723579a7c6df2cace0115a6ca0977d73f9.tar.bz2 |
Update.
* posix/Makefile (distribute): Add regcomp.c, regexec.c,
regex_internal.c, and regex_internal.h.
(CFLAGS-regex.c): Replace -DMBS_SUPPORT with -DRE_ENABLE_I18N.
* posix/regex.c: Complete rewrite.
* posix/regexec.c: New file.
* posix/regcomp.c: New file.
* posix/regex_internal.c: New file.
* posix/regex_internal.h: New file.
* posix/regex.h (RE_ICASE): New macro.
Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
Diffstat (limited to 'posix/regex.h')
-rw-r--r-- | posix/regex.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/posix/regex.h b/posix/regex.h index 8b8bb9d..d1e4b68 100644 --- a/posix/regex.h +++ b/posix/regex.h @@ -1,8 +1,8 @@ /* Definitions for data structures and routines for the regular - expression library, version 0.12. - Copyright (C) 1985,1989-93,1995-98,2000,2001 Free Software Foundation, Inc. - This file is part of the GNU C Library. Its master source is NOT part of - the C library, however. The master source lives in /gd/gnu/lib. + expression library. + Copyright (C) 1985,1989-93,1995-98,2000,2001,2002 + Free Software Foundation, Inc. + This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -164,6 +164,10 @@ typedef unsigned long int reg_syntax_t; treated as 'a\{1'. */ #define RE_INVALID_INTERVAL_ORD (RE_DEBUG << 1) +/* If this bit is set, then ignore case when matching. + If not set, then case is significant. */ +#define RE_ICASE (RE_INVALID_INTERVAL_ORD << 1) + /* This global variable defines the particular regexp syntax to use (for some interfaces). When a regexp is compiled, the syntax used is stored in the pattern buffer, so changing this does not affect |