footnotePattern top-level property

RegExp footnotePattern
final

A line starting with [^ and contains with ]:, but without special chars (\] \r\n\x00\t) between. Same as GFM.

Implementation

final footnotePattern = RegExp(r'(^[ ]{0,3})\[\^([^\] \r\n\x00\t]+)\]:[ \t]*');