UrlMatcher class
A variant of TextMatcher for parsing URLs.
- Inheritance
-
- Object
- TextMatcher
- UrlMatcher
Constructors
- UrlMatcher([String pattern = r'(?:https?:)?(?://)?(?:' r'(?:[\w\-]{1,256}\.){1,5}[a-zA-Z]{2,10}' r'|\d{1,3}(?:\.\d{1,3}){3}' r'|localhost' r')(?::\d{1,5})?' r"(?:[/?#](?:(?:[\w\-.~%!#$&'()*+,/:;=?@\[\]]+/?)*[^\s.])?)?"])
-
Creates a UrlMatcher for parsing URLs.
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited