Skip to content

Commit 226bb72

Browse files
committed
Document that "*?" does not work properly currently
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1002804 13f79535-47bb-0310-9956-ffa450edef68
1 parent 5e0fe4d commit 226bb72

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/java/org/apache/commons/io/FilenameUtils.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,6 +1185,7 @@ public static boolean isExtension(String filename, Collection<String> extensions
11851185
* wildcardMatch("c.txt", "*.???") --> true
11861186
* wildcardMatch("c.txt", "*.????") --> false
11871187
* </pre>
1188+
* N.B. the sequence "*?" does not work properly at present in match strings.
11881189
*
11891190
* @param filename the filename to match on
11901191
* @param wildcardMatcher the wildcard string to match against
@@ -1210,6 +1211,7 @@ public static boolean wildcardMatch(String filename, String wildcardMatcher) {
12101211
* wildcardMatch("c.txt", "*.???") --> true
12111212
* wildcardMatch("c.txt", "*.????") --> false
12121213
* </pre>
1214+
* N.B. the sequence "*?" does not work properly at present in match strings.
12131215
*
12141216
* @param filename the filename to match on
12151217
* @param wildcardMatcher the wildcard string to match against
@@ -1226,6 +1228,7 @@ public static boolean wildcardMatchOnSystem(String filename, String wildcardMatc
12261228
* <p>
12271229
* The wildcard matcher uses the characters '?' and '*' to represent a
12281230
* single or multiple (zero or more) wildcard characters.
1231+
* N.B. the sequence "*?" does not work properly at present in match strings.
12291232
*
12301233
* @param filename the filename to match on
12311234
* @param wildcardMatcher the wildcard string to match against

0 commit comments

Comments
 (0)