-record(regex_error, {details :: binary()}).