If the regex search pattern doesn't follow all the rules, this Error property will be set.
If the pattern is valid, the value is null.
Free with [method@GLib.Error.free].