[Bug 207681] [libc] re-enable regex bayer-moore for the general multibyte case

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 29 23:59:00 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207681

--- Comment #3 from Yuri Pankov <yuripv at gmx.com> ---
(In reply to Yuri Pankov from comment #2)

To check that I'm not imagining things, I've added some printfs to regex
routines and did a very simple test case with regcomp()/regexec(), important
part here is not using REG_NOSUB:

$ LC_ALL=en_US.UTF-8 ./testre
I'm mmatcher
I'm xmbrtowc
I'm xmbrtowc
I'm xmbrtowc
I'm xmbrtowc
I'm xmbrtowc
I'm xmbrtowc
I'm xmbrtowc
pattern 'в' does match string 'абвгд'
$ LC_ALL=C ./testre
I'm smatcher
I'm xmbrtowc_dummy
I'm xmbrtowc_dummy
I'm xmbrtowc_dummy
I'm xmbrtowc_dummy
I'm xmbrtowc_dummy
I'm xmbrtowc_dummy
I'm xmbrtowc_dummy
I'm xmbrtowc_dummy
I'm xmbrtowc_dummy
I'm xmbrtowc_dummy
pattern 'в' does match string 'абвгд'

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list