Just curious, but could I use a regular expression, I am not fully familiar to QRegEx or QRegularExpression, but could I use them in some way to determine when its sensible to parse a statement? If so any suggestions on how I could go about doing so?