Changeset 17267 in josm
- Timestamp:
- 2020-10-26T16:03:33+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/numeric.mapcss
r17266 r17267 267 267 } 268 268 269 *[maxaxleload][maxaxleload !~ /^( ([0-9]+(\.[0-9]+)?( (t|kg|st|lbs))?)|([0-9]+\'([0-9]+(\.[0-9]+)?\")?))$/]!.maxaxleload_separator_autofix,270 *[maxweight][maxweight !~ /^( ([0-9]+(\.[0-9]+)?( (t|kg|st|lbs))?)|([0-9]+\'([0-9]+(\.[0-9]+)?\")?))$/]!.maxweight_separator_autofix {269 *[maxaxleload][maxaxleload !~ /^([0-9]+(\.[0-9]+)?( (t|kg|st|lbs))?)$/]!.maxaxleload_separator_autofix, 270 *[maxweight][maxweight !~ /^([0-9]+(\.[0-9]+)?( (t|kg|st|lbs))?)$/]!.maxweight_separator_autofix { 271 271 throwWarning: tr("unusual value of {0}: tonne is default; point is decimal separator; if units, put space then unit", "{0.key}"); 272 272 assertMatch: "node maxaxleload=something"; 273 273 assertMatch: "node maxweight=-5"; 274 274 assertNoMatch: "node maxaxleload=2"; 275 assertNoMatch: "node maxweight=12'";276 assertNoMatch: "node maxweight=6'6\"";277 275 assertNoMatch: "node maxaxleload=2.5"; 278 276 assertNoMatch: "node maxaxleload=7 kg";
Note:
See TracChangeset
for help on using the changeset viewer.