Changeset 19042 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2024-04-18T13:46:08+02:00 (7 months ago)
Author:
stoecker
Message:

fix #23625 - allow - sign in keys

File:
1 edited

Legend:

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

    r16643 r19042  
    2121    private static final int MAX_KEY_LENGTH = Config.getPref().getInt("tags.paste.max-key-length", 50);
    2222    private static final int MAX_KEY_COUNT = Config.getPref().getInt("tags.paste.max-key-count", 30);
    23     private static final String KEY_PATTERN = Config.getPref().get("tags.paste.tag-pattern", "[0-9a-zA-Z:_]*");
     23    private static final String KEY_PATTERN = Config.getPref().get("tags.paste.tag-pattern", "[0-9a-zA-Z:_-]*");
    2424    private static final int MAX_VALUE_LENGTH = 255;
    2525
Note: See TracChangeset for help on using the changeset viewer.