get_regex_error


Description:

[ Version ( since = "3.10" ) ]
public Error? get_regex_error ()

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

a SourceSearchContext.

Returns:

the Error, or null if the pattern is valid.




2022 vala-language.org