tablePattern top-level property

RegExp tablePattern
final

A line of hyphens separated by at least one pipe.

Implementation

final tablePattern = RegExp(
    r'^[ ]{0,3}\|?([ \t]*:?\-+:?[ \t]*\|[ \t]*)+([ \t]|[ \t]*:?\-+:?[ \t]*)?$');