chickadee » posix-regex » make-regex

make-regex pattern #!optional ignorecase extended multilineprocedure

Returns a pre-compiled regular expression object for the given pattern. The optional arguments ignorecase and extended specify whether the case should be ignored during matching and if ERE (instead of BRE) syntax should be used. The remaining multiline optional argument will cause the string to be treated as multiple lines (affects handling of ^ and $). If an error occurs during regex compilation, an exception is raised.