Test, validate and match regular expressions
Matches numbers in European/Brazilian format where periods serve as thousands separators and commas mark the decimal point. Accepts an optional leading negative sign, integer part as either plain digits or dot-grouped triplets (e.g., 1.234.567), and an optional decimal part after a comma with an optional space (e.g., 1.234, 56). Useful for validating user input like '-1.234.567,89' in locales using this number convention.