["regex", pattern, flags?, input] — true when pattern matches anywhere in input, like JS RegExp.test. Anchor the pattern (^, $) for a whole-string match.
["regex", pattern, flags?, input]
RegExp.test
^
$
JS regex flags; i, m and s are honoured.
i
m
s