JSSyntaxRegExp class
class JSSyntaxRegExp implements RegExp { external const JSSyntaxRegExp(String pattern, {bool multiLine: false, bool ignoreCase: false}); external Match firstMatch(String str); external Iterable<Match> allMatches(String str); external bool hasMatch(String str); external String stringMatch(String str); external String get pattern; external bool get multiLine; external bool get ignoreCase; }
Implements
Constructors
Properties
final bool ignoreCase #
Whether this regular expression is case insensitive.
external bool get ignoreCase;
Methods
Iterable<Match> allMatches(String str) #
Returns an iterable on the matches of the regular expression in str.
external Iterable<Match> allMatches(String str);
Match firstMatch(String str) #
Searches for the first match of the regular expression
in the string
str. Returns null
if there is no match.
external Match firstMatch(String str);