MathBlockParser
An IMfmParser implementation for detecting "math block" syntax. The string enclosed by "\\" and "\\" will be the search result.
Notes
Nesting of MFM syntax is not possible. All content is interpreted as text.
"\\[" must be the beginning of the line.
"\\]" must be the end of the line.
Leading and trailing spaces and newlines are trimmed.
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.