Changeset 9073 in josm for trunk/src/org/openstreetmap/josm/tools/TextTagParser.java
- Timestamp:
- 2015-11-30T23:14:56+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/TextTagParser.java
r8928 r9073 215 215 // tag1\tval1\ntag2\tval2\n 216 216 tags = readTagsByRegexp(buf, "[\\r\\n]+", ".*?([a-zA-Z0-9:_]+).*\\t(.*?)", false); 217 217 // try "tag\tvalue\n" format 218 218 if (tags != null) return tags; 219 219 … … 224 224 // a = b=c - this method of parsing fails intentionally 225 225 tags = readTagsByRegexp(buf, "[\\n\\t\\r]+", "(.*?)=(.*?)", true); 226 226 // try format t1=v1\n t2=v2\n ... 227 227 if (tags != null) return tags; 228 228
Note:
See TracChangeset
for help on using the changeset viewer.