https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207681
Yuri Pankov <yur...@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yur...@gmx.com --- Comment #2 from Yuri Pankov <yur...@gmx.com> --- I *think* you are reading the code wrong, see how regexec.c includes engine.c several times, after setting different defines. With MNAMES defined, which defines the proper XMBRTOWC, we have a "#define matcher mmatcher", and regexec.c has the following in regexec(): if (MB_CUR_MAX > 1) return(mmatcher(g, string, nmatch, pmatch, eflags)); So in multibyte case, we are using the mmatcher(), which gets defined along with MNAMES and proper XMBRTOWC pointing to xmbrtowc() and not xmbrtowc_dummy(). The man page bit talks specifically about *word boundaries* in multibyte locales, not general multibyte case. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"