setextPattern top-level property

RegExp setextPattern
final

A series of = or - (on the next line) define setext-style headers.

Implementation

final setextPattern = RegExp(r'^[ ]{0,3}(=+|-+)\s*$');