compat/regex: get rid of old-style definition