Construct a context object for pattern matching on the heap.
#include </strpattern.h>
strpattern_context* strpattern_context_new(int *err)
STRPATTERN_EOK if there is no error.
The context can be used to specify pattern-matching parameters. See the corresponding context-related functions for information about the parameters and their default values.
A pointer to the constructed context object (NULL on error). Ownership is transferred to the caller.