attributeRegex property

RegExp attributeRegex
getter/setter pair

Matches an attribute entry String? content(name) 1 - String 3 - ? 4 - content 5 - (name,age)

Implementation

static RegExp attributeRegex =
    RegExp(r'^((\w|\<|\>|,)+)(\?)? (\w+)(\(.+\))?$');