aboutsummaryrefslogtreecommitdiff
path: root/posix/regex.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-04 23:37:01 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-04 23:37:01 +0000
commit6fefb4e0b1695a4f7d0d18be6c04472bb3995071 (patch)
tree470549c3fb1120fcca55d882b9911a716b5c92b2 /posix/regex.h
parent4c595adb603a70901433026153e1ff34979ed173 (diff)
downloadglibc-6fefb4e0b1695a4f7d0d18be6c04472bb3995071.zip
glibc-6fefb4e0b1695a4f7d0d18be6c04472bb3995071.tar.gz
glibc-6fefb4e0b1695a4f7d0d18be6c04472bb3995071.tar.bz2
Update.
2004-01-15 Paolo Bonzini <bonzini@gnu.org> * posix/regex.h (REG_STARTEND): Define. * posix/regexec.c (regexec): Check for REG_STARTEND.
Diffstat (limited to 'posix/regex.h')
-rw-r--r--posix/regex.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/posix/regex.h b/posix/regex.h
index b4a975b..4279dbc 100644
--- a/posix/regex.h
+++ b/posix/regex.h
@@ -298,6 +298,10 @@ extern reg_syntax_t re_syntax_options;
/* Like REG_NOTBOL, except for the end-of-line. */
#define REG_NOTEOL (1 << 1)
+/* Use PMATCH[0] to delimit the start and end of the search in the
+ buffer. */
+#define REG_STARTEND (1 << 2)
+
/* If any error codes are removed, changed, or added, update the
`re_error_msg' table in regex.c. */