man regerror () - See regcomp.3posix

REFERENCE

See regcomp.3posix