Open tiff opened 4 years ago
As an alternative to ignoring the hyphen, the rule could include the first number in the range.
@fabrichter can you take care? I'm fine with both solutions
Got a quick fix ready so that the number is not parsed as negative anymore, though the hyphen is still included in the first part of the suggestion with the original text (see [1]). To handle these cases properly (i.e. convert the complete range & don't have a bit confusing match positions and suggestions) I would want to do more refactoring, that will have to wait for a later time I'm afraid.
[1]:
Applying the correction results in:
Enabling acceleration from 0-60 mph (ca. 97 km/h) in as little as 2.9 seconds.
Now fixed by ignoring these cases. Interpreting "x-y" as a range would be even nicer, though. Leaving this issue open for the future for that.
It should ignore the "-"