Github user jtstorck commented on the issue:
https://github.com/apache/nifi/pull/2930
@ottobackwards That's a good combination of solutions! We need to decide
if we want to put the full weight of complex regex on the user, or if it's more
simple all-around by toggling between file-only or file-and-directory mode. I
could see that some power-users may want the filter to be applied to the full
path to be able to match only certain subdirectory trees.
No reason we can't offer three modes:
- filename only
- filename and directory name
- full path
---