Add [I]REGEX function

In the form of REGEX(str, pattern[, flags]).

The optional flags argument is a string containing one or more of the single-letter mnemonics from the Pattern 'special constructs' section (case-insensitive, multi-line, etc).

Mostly boilerplate and test sanity check as all of the real work is in java.util.regex.Pattern/Matcher.