Regular expression patterns must follow certain rules.
If [property@SearchSettings:search-text] breaks a rule, the error can be retrieved with this function.
The error domain is [[email protected]].
Free the return value with [[email protected]].
this |
the Error, or null if the pattern is valid. |