Changeset 16643 in josm for trunk/src/org/openstreetmap/josm/tools/TextTagParser.java
- Timestamp:
- 2020-06-14T20:19:59+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/TextTagParser.java
r16630 r16643 50 50 */ 51 51 public static Map<String, String> readTagsByRegexp(String text, String splitRegex, String tagRegex, boolean unescapeTextInQuotes) { 52 String[] lines = text.split(splitRegex );52 String[] lines = text.split(splitRegex, -1); 53 53 Pattern p = Pattern.compile(tagRegex); 54 54 Map<String, String> tags = new LinkedHashMap<>();
Note:
See TracChangeset
for help on using the changeset viewer.