Skip to content

Commit

Permalink
fix bug I introduced in the last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
anneferger committed Nov 15, 2023
1 parent 0062c65 commit 2d7d360
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ private List<PluginLocation> getLocationsList(String dirRegex)
int counter = 0;
while (locs.hasMoreElements()) {
final URL location = locs.nextElement();
String matchString = "^(jar:[a-zA-Z][a-zA-Z0-9\\+\\-\\.]*:.*\\!/).*plugin.xml.*\\{1\\}$";
String matchString = "^(jar:[a-zA-Z][a-zA-Z0-9\\+\\-\\.]*:.*\\!/).*plugin.xml.*{1}$";
Pattern pattern = Pattern.compile(matchString);
Matcher matcher = pattern.matcher(location.toExternalForm());
LOGGER.debug("Found : " + location.toExternalForm());
Expand Down

0 comments on commit 2d7d360

Please sign in to comment.