Changeset 11565 in josm for trunk/src/org
- Timestamp:
- 2017-02-14T23:29:04+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/plugin/PluginPreference.java
r11564 r11565 492 492 List<String> toActivate = new ArrayList<>(); 493 493 List<String> notFound = new ArrayList<>(); 494 // This pattern matches the default list format JOSM uses for bug reports. 495 // It removes a list item mark at the beginning of the line: +, -, * 496 // It removes the version number after the plugin, like: 123, (123), (v5.7alpha3), (1b3), ... 494 497 Pattern regex = Pattern.compile("^[-+\\*\\s]*|\\s[\\d\\s]*(\\(([vab\\.\\d]|alpha|beta)*\\))?[\\d\\s]*$"); 495 498 for (String line : lines) {
Note:
See TracChangeset
for help on using the changeset viewer.