<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: tFTPGet, Filemask and Regex question. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFTPGet-Filemask-and-Regex-question/m-p/2355422#M121173</link>
    <description>Thanks for your answer nsun.
&lt;BR /&gt;But if it?s not regex why the following regex style mask works fine - "bo(o|u)t" ?
&lt;BR /&gt;By the way when I use ?windows style? mask *_??????.csv the following error appeals to java regex package java.util.regex.PatternSyntaxException. 
&lt;BR /&gt;Exception in component tFTPGet_1
&lt;BR /&gt;java.util.regex.PatternSyntaxException: Dangling meta character '?' near index 5
&lt;BR /&gt;.*_??????\.csv
&lt;BR /&gt; ^
&lt;BR /&gt;What is correct syntax for Filemask in tFTPGet ?!</description>
    <pubDate>Wed, 15 Jul 2009 14:50:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-07-15T14:50:25Z</dc:date>
    <item>
      <title>tFTPGet, Filemask and Regex question.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPGet-Filemask-and-Regex-question/m-p/2355420#M121171</link>
      <description>Hello, 
&lt;BR /&gt;I?m trying to use Regex expression in Filemask of tFTPGet component. 
&lt;BR /&gt;I've never used regex before? So i use this site as a reference: 
&lt;A href="http://www.regular-expressions.info/reference.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.regular-expressions.info/reference.html&lt;/A&gt; 
&lt;BR /&gt;How exactly regex expression should looks like if I want to get only files ending with _yyyyMMdd.csv 
&lt;BR /&gt;I tried to use the following expression but without success: ".*_.*\.csv"</description>
      <pubDate>Sat, 16 Nov 2024 13:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPGet-Filemask-and-Regex-question/m-p/2355420#M121171</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: tFTPGet, Filemask and Regex question.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPGet-Filemask-and-Regex-question/m-p/2355421#M121172</link>
      <description>Hi,&lt;BR /&gt;For the purpose of unprofessional user, the file mask of tFTPXXX components is not according to the regex principle.&lt;BR /&gt;Try: "*_*.csv".&lt;BR /&gt;regard.</description>
      <pubDate>Wed, 15 Jul 2009 07:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPGet-Filemask-and-Regex-question/m-p/2355421#M121172</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-15T07:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: tFTPGet, Filemask and Regex question.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPGet-Filemask-and-Regex-question/m-p/2355422#M121173</link>
      <description>Thanks for your answer nsun.
&lt;BR /&gt;But if it?s not regex why the following regex style mask works fine - "bo(o|u)t" ?
&lt;BR /&gt;By the way when I use ?windows style? mask *_??????.csv the following error appeals to java regex package java.util.regex.PatternSyntaxException. 
&lt;BR /&gt;Exception in component tFTPGet_1
&lt;BR /&gt;java.util.regex.PatternSyntaxException: Dangling meta character '?' near index 5
&lt;BR /&gt;.*_??????\.csv
&lt;BR /&gt; ^
&lt;BR /&gt;What is correct syntax for Filemask in tFTPGet ?!</description>
      <pubDate>Wed, 15 Jul 2009 14:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPGet-Filemask-and-Regex-question/m-p/2355422#M121173</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-15T14:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: tFTPGet, Filemask and Regex question.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPGet-Filemask-and-Regex-question/m-p/2355423#M121174</link>
      <description>==&amp;gt;But if it?s not regex why the following regex style mask works fine - "bo(o|u)t" ?
&lt;BR /&gt; Because it actually use java.util.regex to handle matches in the bottom code, but before that , it do some transform, as a matter of fact: replace all "." with "\.") and replace all "*" with ".*".
&lt;BR /&gt;==&amp;gt;By the way when I use ?windows style? mask *_??????.csv the following error appeals to java regex package java.util.regex.PatternSyntaxException.
&lt;BR /&gt; I don't know the code writer's original intention, I guess it just in order to suit the behavior of common user who have no idea what Regex is, and it's not a completely implement of ?windows style? mask for sure. "*" is just easier to understand than ".*".
&lt;BR /&gt;==&amp;gt;Exception in component tFTPGet_1
&lt;BR /&gt;java.util.regex.PatternSyntaxException: Dangling meta character '?' near index 5
&lt;BR /&gt;.*_??????\.csv
&lt;BR /&gt; ^
&lt;BR /&gt; Above-mentioned, "??????" is kind of ?windows style? it doesn't support.
&lt;BR /&gt; It indeed break the regex rule, so if needed we consider adding a feature of regex option for advanced settings.</description>
      <pubDate>Thu, 16 Jul 2009 07:26:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPGet-Filemask-and-Regex-question/m-p/2355423#M121174</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-16T07:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: tFTPGet, Filemask and Regex question.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPGet-Filemask-and-Regex-question/m-p/2355424#M121175</link>
      <description>Thanks for your explanations nsun.
&lt;BR /&gt;The following mask did a trick for my initial problem: ?*_{6}.csv?
&lt;BR /&gt;You can use pretty much of regex in the filemask? just take in account that Taled replace ?.? with ?\.? and ?*? with ?.*?
&lt;BR /&gt;I?m on TOS 3.2.0.M1 right now.</description>
      <pubDate>Fri, 17 Jul 2009 11:21:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPGet-Filemask-and-Regex-question/m-p/2355424#M121175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-17T11:21:18Z</dc:date>
    </item>
  </channel>
</rss>

