A line starting with [^ and contains with ]:, but without special chars (\] \r\n\x00\t) between. Same as GFM.
[^
]:
\] \r\n\x00\t
final footnotePattern = RegExp(r'(^[ ]{0,3})\[\^([^\] \r\n\x00\t]+)\]:[ \t]*');