New: advanced handle-callback-err configuration (fixes #1124)

`.*$` can be omitted here.