LinkMatcher class
A variant of TextMatcher for parsing Markdown link format.
This is useful if used together with SelectiveDefinition.
Note that this matcher does not treat nested brackets or braces in the same way as real Markdown parsers do.
The preset pattern is overwritten if a custom pattern is provided.
- Inheritance
-
- Object
- TextMatcher
- LinkMatcher
Constructors
- LinkMatcher([String pattern = r'\[(.+?)\]\((.*?)\)'])
-
Creates a LinkMatcher for parsing Markdown link format.
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