Greg, [email protected] is probably better but this is just fine.
My regex foo gets weaker by the day. But I believe the regex says "avoid things that start with '.' but accept anything else". Looking here https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html The [^ starts a character class as a negation of those characters. And the .* says any character (typically excluding newlines) and any number of them 0 or more. Have you verified that it is not working? Thanks Joe On Thu, Jul 7, 2016 at 3:44 PM, gregw134 <[email protected]> wrote: > Hi, > > The default file filter for GetFile is [^\.].* which only matches filenames > one character long. It should probably be changed to something like [^\.]*.* > > Let me know if this is the wrong forum to post this. > > Thanks, > > Greg Womack > Solutions Engineer > Hortonworks > > > > -- > View this message in context: > http://apache-nifi-developer-list.39713.n7.nabble.com/GetFile-Regex-issue-tp12710.html > Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.
