Returns true if text consists entirely of punctuation or symbol characters.
text
bool isPunctuation(String text) { return text.isNotEmpty && _punctuationRegex.hasMatch(text); }