|The regular expression as a |
|Whether this is a multiline regular expression. (matches |
|If the expression is case sensitive|
var regExp = new RegExp(r"(\w+)"); var str = "Parse my string"; Iterable<Match> matches = regExp.allMatches(str);
It's a good idea to use "raw strings" (prefix with
when writing regular expressions so you can use unescaped backslashes in your expression.