What would be a good regex for RECOGNIZING math expressions ?
I'm not looking of parsing it, but just recognizing it is math expression. The critical feature is that it does not recognize non-math-exp as math-exp
including : ops, parentheses, ...
excluding : functions f.e exp,sqrt
probably starting point will be :
(^|\s+)[+\-*/()0-9 ]+(\s+|$)