aboutsummaryrefslogtreecommitdiff
path: root/posix/regex.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-25 20:48:59 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-25 20:48:59 +0000
commita0788ec48cc3f1357075e8351aa7d62d20c63c15 (patch)
tree98cb218704b778cc4fccfd3c3ce0e4de31ba3eaa /posix/regex.h
parent63461e754479c272b75fc219416142f38b4fb23e (diff)
downloadglibc-a0788ec48cc3f1357075e8351aa7d62d20c63c15.zip
glibc-a0788ec48cc3f1357075e8351aa7d62d20c63c15.tar.gz
glibc-a0788ec48cc3f1357075e8351aa7d62d20c63c15.tar.bz2
Update.
* posix/regcomp.c (peek_token): Remove recent changes for anchor handling again. (parse_reg_exp): Likewise. * posix/regex.h: Remove RE_CARET_ANCHORS_HERE. (peek_token): Accept \s and \S as OP_SPACE and OP_NOTSPACE. (parse_expression): Replace build_word_op with
Diffstat (limited to 'posix/regex.h')
-rw-r--r--posix/regex.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/posix/regex.h b/posix/regex.h
index 1ab3e24..e251962 100644
--- a/posix/regex.h
+++ b/posix/regex.h
@@ -170,11 +170,6 @@ typedef unsigned long int reg_syntax_t;
If not set, then case is significant. */
#define RE_ICASE (RE_INVALID_INTERVAL_ORD << 1)
-/* This bit is used internally like RE_CONTEXT_INDEP_ANCHORS but only
- for ^, because it is difficult to scan the regex backwards to find
- whether ^ should be special. */
-#define RE_CARET_ANCHORS_HERE (RE_ICASE << 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