diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-09-23 05:43:03 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-09-23 05:43:03 +0000 |
commit | e2b6bfa33950b3fa75f2b473f4b6659da3d53b4a (patch) | |
tree | 83e0fbbbc32a668ca26ec4a2bde32bddaf03bc76 /ChangeLog | |
parent | ce85933261d37a0cd5345687acc948fe5bfdabd0 (diff) | |
download | glibc-e2b6bfa33950b3fa75f2b473f4b6659da3d53b4a.tar.gz glibc-e2b6bfa33950b3fa75f2b473f4b6659da3d53b4a.tar.xz glibc-e2b6bfa33950b3fa75f2b473f4b6659da3d53b4a.zip |
Update.
* posix/regcomp.c (build_word_op): Rename like... (build_charclass_op): ...this. Accept two extra parameters, CLASS_NAME and EXTRA. Add EXTRA to the result, not only _. (peek_token): accept \s and \S as OP_SPACE and OP_NOTSPACE. (parse_expression): replace build_word_op with build_charclass_op, add new arguments, accept OP_SPACE and OP_NOTSPACE. * posix/regex_internal.h (re_token_type_t): Add OP_SPACE and OP_NOTSPACE.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 0a6301cfba..9fc0a6576c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ 2003-09-20 Paolo Bonzini <bonzini@gnu.org> + * posix/regcomp.c (build_word_op): Rename like... + (build_charclass_op): ...this. Accept two extra parameters, + CLASS_NAME and EXTRA. Add EXTRA to the result, not only _. + (peek_token): accept \s and \S as OP_SPACE and OP_NOTSPACE. + (parse_expression): replace build_word_op with + build_charclass_op, add new arguments, accept OP_SPACE + and OP_NOTSPACE. + * posix/regex_internal.h (re_token_type_t): Add OP_SPACE + and OP_NOTSPACE. + * posix/regcomp.c (peek_token): Don't look back for ( or | to check whether to treat a caret as special. It fails for the (extended) regex \(^. |