get_regex_error
Description:
Regular expression patterns must follow certain rules.
If search_text breaks a rule, the error can be retrieved with this function. The error domain is RegexError.
Free the return value with g_error_free.
Parameters:
| this | 
Returns:
| the Error, or  |