Changes between Initial Version and Version 1 of Ticket #21286, comment 12
- Timestamp:
- 2023-05-10T21:12:28+02:00 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21286, comment 12
initial v1 4 4 > Good spot. Guess I can only compare metric units or even only values in meters. Else I would need to calculate comparable values first which seems to be quite more work. I tried following but it does not work and `assertMatch` is no help: 5 5 There was a ticket about adding support for converting units, but stoecker killed it IIRC. I cannot find that ticket anymore though. :( 6 7 EDIT: To clarify, I don't know what we can do besides only work with meters, right now anyway. I would note that I would follow the wiki specification for units. So meters would just be `m`, feet would be `"`, yards would be `'`. So the regex would look like `^[0-9]+(\.[0-9]+)?( m)?$`.