Test, validate and match regular expressions
Matches positive currency-formatted numbers with up to 10 integer digits and an optional decimal part of up to 2 places, e.g. 1234567890.12. Allows leading/trailing zeros and fractional values below one (like .5 or 0.05), while rejecting zero and negative amounts. Typically used to validate monetary input fields in web forms. The gm flags enable matching multiple amounts across lines in a single input.