Test, validate and match regular expressions
This regex tokenizes a mathematical expression into numbers and operators. It matches signed or unsigned decimal numbers, including those with leading signs after operators like +, -, *, or /, using lookbehind. It also matches individual operator characters and parentheses. This pattern is useful for parsing calculator input, extracting numeric tokens and operation symbols in order.