<?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: tFileInputRegex - processing lines where pattern does not match in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileInputRegex-processing-lines-where-pattern-does-not-match/m-p/2197955#M1486</link>
    <description>Hi 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;I thought the tFileInputRegex ?rejected? output stream would have all the rows which does not match the pattern but it seems I?m wrong. The rejected stream is empty.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Because tFileInputRegex read the rows which does not match the pattern and get nothing, so the values of schema are null and the rejected stream is empty. 
&lt;BR /&gt;see some code 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;row1 is main flow and row2 is reject flow) 
&lt;BR /&gt; 
&lt;PRE&gt;	} catch (Exception e) {&lt;BR /&gt;					whetherReject_tFileInputRegex_1 = true;&lt;BR /&gt;					row2 = new row2Struct();&lt;BR /&gt;					row2.id = row1.id;&lt;BR /&gt;					row2.name = row1.name;&lt;BR /&gt;					row2.errorMessage = e.getMessage();&lt;BR /&gt;					row1 = null;&lt;BR /&gt;				}&lt;/PRE&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
    <pubDate>Fri, 18 Jan 2008 06:11:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-01-18T06:11:29Z</dc:date>
    <item>
      <title>tFileInputRegex - processing lines where pattern does not match</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputRegex-processing-lines-where-pattern-does-not-match/m-p/2197954#M1485</link>
      <description>I have a complex log file for which I use regex to separate parts of the log lines into separate fields:&lt;BR /&gt; &amp;lt;GREEN&amp;gt;You conjure a ring that glistens.&lt;BR /&gt; &amp;lt;GREEN&amp;gt;An aura of levity emanates from your ring.&lt;BR /&gt; You cast &amp;lt;highlight&amp;gt;Planar Gateway&amp;lt;/color&amp;gt; on yourself.&lt;BR /&gt; You cast &amp;lt;highlight&amp;gt;Conjure Quicksilver Ring&amp;lt;/color&amp;gt; on yourself.&lt;BR /&gt; &amp;lt;GREEN&amp;gt;You conjure a ring that flows.&lt;BR /&gt; &amp;lt;GREEN&amp;gt;A mercurial aura emanates from your ring.&lt;BR /&gt;Just as an example, I use (without additional JAVA escape characters):&lt;BR /&gt;\]+)] (.+) cast &amp;lt;+&amp;gt;(.+)&amp;lt;+&amp;gt; on (.+)\.&lt;BR /&gt;To get:&lt;BR /&gt;1=?19:59:53? 2=?You? 3=?Planar Gateway? 4=?yourself?&lt;BR /&gt;I thought the tFileInputRegex ?rejected? output stream would have all the rows which does not match the pattern but it seems I?m wrong. The rejected stream is empty. &lt;BR /&gt;Is this intended or am I doing something wrong that I don?t see any row in the rejected output stream?</description>
      <pubDate>Sat, 16 Nov 2024 14:28:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputRegex-processing-lines-where-pattern-does-not-match/m-p/2197954#M1485</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputRegex - processing lines where pattern does not match</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputRegex-processing-lines-where-pattern-does-not-match/m-p/2197955#M1486</link>
      <description>Hi 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;I thought the tFileInputRegex ?rejected? output stream would have all the rows which does not match the pattern but it seems I?m wrong. The rejected stream is empty.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Because tFileInputRegex read the rows which does not match the pattern and get nothing, so the values of schema are null and the rejected stream is empty. 
&lt;BR /&gt;see some code 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;row1 is main flow and row2 is reject flow) 
&lt;BR /&gt; 
&lt;PRE&gt;	} catch (Exception e) {&lt;BR /&gt;					whetherReject_tFileInputRegex_1 = true;&lt;BR /&gt;					row2 = new row2Struct();&lt;BR /&gt;					row2.id = row1.id;&lt;BR /&gt;					row2.name = row1.name;&lt;BR /&gt;					row2.errorMessage = e.getMessage();&lt;BR /&gt;					row1 = null;&lt;BR /&gt;				}&lt;/PRE&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Fri, 18 Jan 2008 06:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputRegex-processing-lines-where-pattern-does-not-match/m-p/2197955#M1486</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-01-18T06:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputRegex - processing lines where pattern does not match</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputRegex-processing-lines-where-pattern-does-not-match/m-p/2197956#M1487</link>
      <description>Ok. I understand.&lt;BR /&gt;Is there a chance that with future versions this component could have an additional output stream with not matching rows?</description>
      <pubDate>Fri, 18 Jan 2008 11:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputRegex-processing-lines-where-pattern-does-not-match/m-p/2197956#M1487</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-01-18T11:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputRegex - processing lines where pattern does not match</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputRegex-processing-lines-where-pattern-does-not-match/m-p/2197957#M1488</link>
      <description>Hi
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Is there a chance that with future versions this component could have an additional output stream with not matching rows?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Yes, you can report a new feature on our bugtracker.
&lt;BR /&gt;Thanks for your support!
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Sat, 19 Jan 2008 07:20:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputRegex-processing-lines-where-pattern-does-not-match/m-p/2197957#M1488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-01-19T07:20:38Z</dc:date>
    </item>
  </channel>
</rss>

