Ignore:
Timestamp:
2013-03-03T17:37:51+01:00 (11 years ago)
Author:
akks
Message:

Fix incorrect tag pasting from tab-delimited text, see #8384

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/TextTagParser.java

    r5738 r5755  
    190190        // Format
    191191        // tag1\tval1\ntag2\tval2\n
    192         tags = readTagsByRegexp(buf, "[\r\n]+]", "(.*?)\t(.*?)", false);
     192        tags = readTagsByRegexp(buf, "[\\r\\n]+", "(.*?)\\t(.*?)", false);
    193193                // try "tag\tvalue\n" format
    194194        if (tags!=null) return tags;
Note: See TracChangeset for help on using the changeset viewer.