
The function now returns the compiled code or null or error. Also, instead of capcount, it writes the ovector size. The ovector pointer can be null. Removed the other config_get_compiled_regex()-function and replaced it with the refactored function since they are almost identical.