Opher Shachar created NIFI-7809:
-----------------------------------
Summary: ListSFTP File Filter Regex documentation needs to be
clearer
Key: NIFI-7809
URL: https://issues.apache.org/jira/browse/NIFI-7809
Project: Apache NiFi
Issue Type: Improvement
Components: Extensions
Affects Versions: 1.11.4
Reporter: Opher Shachar
The documentation for "File Filter Regex" property of ListSFTP processor reads:
{quote}Provides a Java Regular Expression for filtering Filenames; if a filter
is supplied, only files whose names match that Regular Expression will be
fetched
{quote}
But it should be made clear that the Regex *_needs_* to match the whole
filename. e.g. to filter files ending in ".txt.gz" the following will not work:
{code}
\.txt\.gz$
{code}
You'd need to specify:
{code}
.*\.txt\.gz
{code}
or equally:
{code}
.*\.txt\.gz$
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)