New comment by sgn on void-packages repository https://github.com/void-linux/void-packages/issues/38742#issuecomment-1220860177 Comment: Yes, `nvi` uses nvi bundled `regexp(3)` not libc's one. It can't be compiled with libc's `regexp(3)` at least with musl, since it uses `REG_STARTEND` which is an BSD-extension. IOW, maybe upstream `regexp(3)` was buggy.