RegExp(
String source,
{bool multiLine: false,
bool caseSensitive: true}
)

Constructs a regular expression.

Throws a FormatException if source is not valid regular expression syntax.