freebsd-dev/lib/libc/regex
Yuri Pankov 63cbe8d1d9 regexec: fix processing multibyte strings.
Matcher function incorrectly assumed that moffset that we get from
findmust is in bytes. Fix this by introducing a stepback function,
taking short path if MB_CUR_MAX is 1, and going back byte-by-byte,
checking if we have a legal character sequence otherwise.

PR:		153502
Reviewed by:	pfg, kevans
Approved by:	kib (mentor, implicit)
Differential revision:	https://reviews.freebsd.org/D18297
2018-11-23 15:49:18 +00:00
..
grot Replace dot-dot relative pathing with SRCTOP-relative paths where possible 2017-01-20 03:23:24 +00:00
cname.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
COPYRIGHT
engine.c regexec: fix processing multibyte strings. 2018-11-23 15:49:18 +00:00
Makefile.inc Add libregex, connect it to the build 2018-01-22 02:44:41 +00:00
re_format.7 Remove SVR4 (System V Release 4) binary compatibility support. 2017-02-28 05:14:42 +00:00
regcomp.c Add missing patch from r328240 2018-01-22 02:58:33 +00:00
regerror.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
regex2.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
regex.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
regexec.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
regfree.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
Symbol.map
utils.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
WHATSNEW