LinkMatcher class

A variant of TextMatcher for parsing Markdown link format.

This matcher is basically used with SelectiveDefinition.

The preset pattern is overwritten if a custom pattern is provided.

Inheritance

Constructors

LinkMatcher([String pattern = r'\[(.+?)\]\((.*?)\)'])
Creates a LinkMatcher for parsing Markdown link format.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
pattern String
The regular expression string to specify the rule for parsing.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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