Parameter | Details |
——— | —–– |String source
| The regular expression as a String
|{bool multiline}
| Whether this is a multiline regular expression. (matches ^
and $
at the beginning and end of each line individually not the whole String) |{bool caseSensitive}
| If the expression is case sensitive |
Dart regular expressions have the same syntax and semantics as JavaScript regular expressions. See http://ecma-international.org/ecma-262/5.1/#sec-15.10 for the specification of JavaScript regular expressions.
This means that any JavaScript resource you find about Regular Expressions online applies to dart.