Build, test, and debug regular expressions
Validates signed floating-point numbers line by line, accepting single digits (5), integers without leading zeros (42), decimals with a leading dot (.5), zero-prefixed decimals (0.25), and full floats (12.34), each optionally preceded by a minus sign. It rejects numbers with leading zeros like 01 or 01.5, as well as other malformed values. With the global and multiline flags, it is well suited for validating each numeric line in multi-line input or files.