Escapes the special characters used for regular expressions
string, for instance “a.b*c” becomes “a.b*c”. This
function is useful to dynamically generate regular expressions.
string can contain nul characters that are replaced with “\0”,
in this case remember to specify the correct length of
Type: An array of
The string to escape.
The length of the array is specified in the
The data is owned by the caller of the function. Each element is a NUL terminated UTF-8 string.
The length of
string, in bytes, or -1 if