mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-11-25 17:36:55 +01:00
Fix the getFSTEntriesByRegEx functions
This commit is contained in:
parent
9acd11bd11
commit
671ade1fe0
@ -124,7 +124,7 @@ public class NUSTitle {
|
||||
.filter(e -> allowNotInPackage || !e.isNotInPackage()) //
|
||||
.flatMap(e -> {
|
||||
if (!e.isDir()) {
|
||||
if (p.matcher(entry.getFullPath().replace("/", File.separator)).matches()) {
|
||||
if (p.matcher(e.getFullPath().replace("/", File.separator)).matches()) {
|
||||
return Stream.of(entry);
|
||||
} else {
|
||||
return Stream.empty();
|
||||
|
Loading…
Reference in New Issue
Block a user