Changeset 319 in josm for src/org/openstreetmap/josm/plugins
- Timestamp:
- 2007-09-04T10:21:49+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/plugins/PluginDownloader.java
r300 r319 65 65 } 66 66 67 private static final Pattern wiki = Pattern.compile("^</td></tr><tr><td><a class=\"ext-link\" href=\"([^\"]*)\"><span class=\"icon\">([^<]*)</span></a></td><td> [^<]*</td><td>([^<]*)</td><td>(.*)");67 private static final Pattern wiki = Pattern.compile("^</td></tr><tr><td><a class=\"ext-link\" href=\"([^\"]*)\"><span class=\"icon\">([^<]*)</span></a></td><td>([^<]*)</td><td>([^<].*)</td><td>(.*)"); 68 68 69 69 public static int downloadDescription() { … … 109 109 b.append(" <name>"+escape(m.group(2))+"</name>\n"); 110 110 b.append(" <resource>"+escape(m.group(1))+"</resource>\n"); 111 b.append(" <description>"+escape(m.group(3))+"</description>\n"); 112 b.append(" <version>"+escape(m.group(4))+"</version>\n"); 111 b.append(" <author>"+escape(m.group(3))+"</author>\n"); 112 b.append(" <description>"+escape(m.group(4))+"</description>\n"); 113 b.append(" <version>"+escape(m.group(5))+"</version>\n"); 113 114 b.append(" </plugin>\n"); 114 115 }
Note:
See TracChangeset
for help on using the changeset viewer.