Can RPN (Reverse Polish Notation) or Postfix Notation be output by regular expression

I was wondering if I can define a regular expression to check if a given input matches an RPN expression, i.e. Is this input set or not?

Unfortunately, I am not very familiar with Regex, so I was wondering if it is possible to define a regular expression to validate input for a postfix.

Thank you very much taz

+5
source share
1 answer

, ; RPN - , . " ", , .

+9

All Articles