elharo commented on code in PR #11551:
URL: https://github.com/apache/maven/pull/11551#discussion_r2617418873


##########
impl/maven-impl/src/main/java/org/apache/maven/impl/PathSelector.java:
##########
@@ -158,6 +158,18 @@ final class PathSelector implements PathMatcher {
      */
     private static final String SPECIAL_CHARACTERS = "*?[]{}\\";
 
+    /**
+     * The wildcard used by the "glob" syntax for meaning zero or more leading 
directories.
+     * It cannot be {@code "**​/"} because that wildcard matches one or more 
directory.
+     */
+    private static final String WILDCARD_FOR_ANY_PREFIX = "{**/,}";
+
+    /**
+     * The wildcard used by the "glob" syntax for meaning zero or more 
trailing directories.
+     * It cannot be {@code "/**​"} because that wildcard matches one or more 
directory.

Review Comment:
   one or more directories



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to