You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by si...@apache.org on 2019/04/26 13:27:42 UTC

[sling-org-apache-sling-feature-cpconverter] branch master updated: ignoring non meaningful regex group

This is an automated email from the ASF dual-hosted git repository.

simonetripodi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-cpconverter.git


The following commit(s) were added to refs/heads/master by this push:
     new c65eb2c  ignoring non meaningful regex group
c65eb2c is described below

commit c65eb2c409c237a5d0fa3d39d86ddb1178ba790b
Author: stripodi <st...@192.168.1.111>
AuthorDate: Fri Apr 26 15:27:35 2019 +0200

    ignoring non meaningful regex group
---
 .../apache/sling/feature/cpconverter/handlers/BundleEntryHandler.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/feature/cpconverter/handlers/BundleEntryHandler.java b/src/main/java/org/apache/sling/feature/cpconverter/handlers/BundleEntryHandler.java
index cc2c447..098aec0 100644
--- a/src/main/java/org/apache/sling/feature/cpconverter/handlers/BundleEntryHandler.java
+++ b/src/main/java/org/apache/sling/feature/cpconverter/handlers/BundleEntryHandler.java
@@ -46,7 +46,7 @@ public final class BundleEntryHandler extends AbstractRegexEntryHandler {
     private final Pattern pomPropertiesPattern = Pattern.compile("META-INF/maven/[^/]+/[^/]+/pom.properties");
 
     public BundleEntryHandler() {
-        super("(jcr_root)?/(apps|libs)/[^/]+/install(\\.([^/]+))?/.+\\.jar");
+        super("(jcr_root)?/(?:apps|libs)/[^/]+/install(\\.([^/]+))?/.+\\.jar");
     }
 
     @Override