NAME regexp_compile - compile a regular expression SYNOPSIS varargs string *regexp_compile(string pattern, int case_insensitive) DESCRIPTION The argument pattern is compiled as a regular expression. If the argument case_insensitive is nonzero, the pattern is compiled in such a way that subsequent matching will be done without case sensitivity. The default is to be case-sensitive. An array of strings is returned; these strings contain binary data and must not be altered in any way before being passed to regexp_match(). The compiled regexp can be saved and used any number of times with regexp_match(). ERRORS If the argument pattern contains a syntactically malformed regular expression, an error will result. An error can also occur if the pattern is too complicated, or if there is not enough memory to compile the pattern. SEE ALSO kfun/regexp_match