rHashtag constant

String const rHashtag

Selects text that starts with "@" or "#" followed by one or more word-chacters only.

Implementation

static const rHashtag = r'(?<=^)[#@]{1}(\w)+(?=$)';