regex property

RegExp get regex

A regular expression used to find MTG symbol syntax in a String, where that is defined as a left curly brace, followed by any number of the accepted characters, followed by a right curly brace.

Note that this does not guarantee that the syntax is a valid MTG symbol, only that it matches the syntax.

Implementation

static RegExp get regex => RegExp(r'{[½∞\w\/]+}');