Changeset 18649 in josm for trunk/src/org
- Timestamp:
- 2023-02-06T19:39:32+01:00 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/OsmValidator.java
r18637 r18649 467 467 if (tr("Ignore list").equals(description)) 468 468 description = ""; 469 if (!key.matches("^ [0-9]+(_.*|$)")) {469 if (!key.matches("^-?[0-9]+(_.*|$)")) { 470 470 description = key; 471 471 key = ""; … … 480 480 // single element 481 481 entry = key + ":" + item; 482 } else if (item.matches("^ [0-9]+(_.*|)$")) {482 } else if (item.matches("^-?[0-9]+(_.*|)$")) { 483 483 // no element ids 484 484 entry = item;
Note:
See TracChangeset
for help on using the changeset viewer.