Open bramp opened 3 days ago
Ah it seems to be this line: https://github.com/dylanwal/unit_parse/blob/master/src/unit_parse/config.py#L117, [0-9]{1,5} ?%
that explicitly replaces any number string ending in % with "".
Removing that line fixes my use case, but seems to break your tests.
Pint supports percentage values, but unit_parse.parse returns None.
Please support parsing of "10%". Thanks