Changeset 8194 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2015-04-14T23:10:19+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/SimplePrimitiveId.java
r7005 r8194 12 12 private final OsmPrimitiveType type; 13 13 14 public static final Pattern ID_PATTERN = Pattern.compile("((n(ode)?|w(ay)?|r(el(ation)?)?) /?)(\\d+)");14 public static final Pattern ID_PATTERN = Pattern.compile("((n(ode)?|w(ay)?|r(el(ation)?)?)[ /]?)(\\d+)"); 15 15 16 16 public SimplePrimitiveId(long id, OsmPrimitiveType type) {
Note:
See TracChangeset
for help on using the changeset viewer.