Skip to content

Commit a62e5c6

Browse files
committed
path_match_pattern uses Matcher#find() instead of #matches()
1 parent c120bb1 commit a62e5c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embulk-input-s3/src/main/java/org/embulk/input/s3/FileList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public synchronized boolean add(String path, long size)
129129
return false;
130130
}
131131

132-
if (!pathMatchPattern.matcher(path).matches()) {
132+
if (!pathMatchPattern.matcher(path).find()) {
133133
return false;
134134
}
135135

0 commit comments

Comments
 (0)