QuoteParser
An IMfmParser implementation for detecting "quote" syntax. The string enclosed by ">" will be the search result.
Notes
Perform recursive parsing on quoted content. Not only inline syntax but also block syntax is covered.
Ignore 0-1 spaces after '>'.
Lines of adjacent citations are merged.
Blank lines can be included in multi-line citations.
Empty lines after quotes are ignored.
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.