Hi Joe, Nevermind, I realized my mistake. The regex is fine.
Greg From: "Joe Witt [via Apache NiFi Developer List]" Date: Thursday, July 7, 2016 at 3:51 PM To: default Subject: Re: GetFile Regex issue Greg, [hidden email]</user/SendEmail.jtp?type=node&node=12711&i=0> 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 <[hidden email]</user/SendEmail.jtp?type=node&node=12711&i=1>> 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. ________________________________ If you reply to this email, your message will be added to the discussion below: http://apache-nifi-developer-list.39713.n7.nabble.com/GetFile-Regex-issue-tp12710p12711.html To unsubscribe from GetFile Regex issue, click here<http://apache-nifi-developer-list.39713.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=12710&code=Z3dvbWFja0Bob3J0b253b3Jrcy5jb218MTI3MTB8MTEyNzY0ODY2MA==>. NAML<http://apache-nifi-developer-list.39713.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> -- View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/GetFile-Regex-issue-tp12710p12713.html Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.
