pattern property

  1. @override
RegExp get pattern
override

Gets the regex used to identify the beginning of this block, if any.

Implementation

@override
RegExp get pattern => RegExp(r'^ {0,3}</?\w+(?:>|\s+[^>]*>)\s*$');