2002-11-11 Isamu Hasegawa <isamu@yamato.ibm.com>
authorroland <roland>
Wed, 13 Nov 2002 04:00:08 +0000 (04:00 +0000)
committerroland <roland>
Wed, 13 Nov 2002 04:00:08 +0000 (04:00 +0000)
commitdc6f686cc549f15fdc0212c746a5230eaeca462d
treed596c08ac35cd8dc5c77df31252413dd1b09d3ed
parentbb3daf4a2c9315caafb90d8786bc1cb5a0d7e10d
2002-11-11  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regex_internal.c (re_string_skip_chars): Also return the last
wide character.
(re_string_reconstruct): Calculate the context by itself when the
offset points out of the valid range.
(re_string_context_at): Use wide character when MB_CUR_MAX > 1.
* posix/regex_internal.h (WIDE_NEWLINE_CHAR): New macro.
(IS_WIDE_WORD_CHAR): New macro.
(IS_WIDE_NEWLINE): New macro.
posix/regex_internal.c
posix/regex_internal.h