2005-01-26 Jakub Jelinek <jakub@redhat.com>
commite20e0d8fb55a71e0b2a5201f5bce19e7c01d3afc
authorRoland McGrath <roland@gnu.org>
Wed, 16 Feb 2005 11:09:25 +0000 (16 11:09 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 16 Feb 2005 11:09:25 +0000 (16 11:09 +0000)
tree7943bfcf06e2076f857d33ea055182af54add1f4
parenta224483f11618e33449fec39eb00d51053d08ae5
2005-01-26  Jakub Jelinek  <jakub@redhat.com>

[BZ #693]
* posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
(WORD_DELIM_CONSTRAINT): ...this.
(NOT_WORD_DELIM_CONSTRAINT): Define.
(re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
* posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
anchor instead of INSIDE_WORD.
(parse_expression): Handle NOT_WORD_DELIM constraint.
* posix/bug-regex19.c (tests): Adjust tests that relied on \B
being inside word instead of not word delim.
* posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
characters.
* posix/rxspencer/tests: Add some new tests.
posix/bug-regex19.c
posix/regcomp.c
posix/regex_internal.h
posix/rxspencer/tests
posix/tst-rxspencer.c