LinkParser
An IMfmParser implementation for detecting "link" syntax. Strings that match the pattern "linkText" will be the search results.
Notes
Apply InlineParser to the content again to recursively detect inline syntax.
URLs, links, and mentions are not allowed in the display text (the part enclosed in "[]").
Any character and newline can be used in the content.
The content cannot be left empty.
Functions
Link copied to clipboard
Finds a substring in the input string starting from a given index.
Link copied to clipboard
Returns a negative (not) version of the current MFM parser. A negative parser will return a failure result if the substring is found.
Link copied to clipboard
Returns an optional version of the current substring parser. An optional parser will return a successful result even if the substring is not found.