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)+(?=$)';
Selects text that starts with "@" or "#" followed by one or more word-chacters only.
static const rHashtag = r'(?<=^)[#@]{1}(\w)+(?=$)';