Fixed #23151 -- Deprecated RegexField.error_message.