Test, validate and match regular expressions
This regex matches calculator memory assignment statements in the format `variable = value`, where the value can be either a numeric value (optionally negative) or another variable name. It captures both the target variable and the assigned value, allowing for optional whitespace around the equals sign. Useful for parsing calculator input, simple expression evaluators, or basic programming language interpreters.