This function initializes a regular expression state structure
in the external buffer. The size of this buffer must be computed previously by calling the function
. The function compiles the initial pattern of regular expressions
in accordance with the compiling options specified by
, converts it to the specific internal form, and stores it in the initialized structure. This structure is used by the function
to perform matching operation.