Build, test, and debug regular expressions
This regex matches mathematical terms in equations, specifically coefficients, variables (x or X), and exponents. It handles signs (+/-) correctly, allowing for whitespace between components, and properly parses terms like '3x^2', '-2x', or '5.3 * 4x^2'. The pattern is designed to extract individual terms without the equality sign, making it useful for parsing and manipulating polynomial expressions.