<?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: &amp;quot;Invalid Regex: no named extraction&amp;quot; in the interactive field extractor in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/quot-Invalid-Regex-no-named-extraction-quot-in-the-interactive/m-p/9545#M168</link>
    <description>&lt;P&gt;I belive you need to use all named captures. ie (?P...)&lt;/P&gt;</description>
    <pubDate>Sun, 31 Jan 2010 01:16:45 GMT</pubDate>
    <dc:creator>GpMidi</dc:creator>
    <dc:date>2010-01-31T01:16:45Z</dc:date>
    <item>
      <title>"Invalid Regex: no named extraction" in the interactive field extractor</title>
      <link>https://community.splunk.com/t5/Splunk-Search/quot-Invalid-Regex-no-named-extraction-quot-in-the-interactive/m-p/9543#M166</link>
      <description>&lt;P&gt;What is wrong with this regex?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(?P&amp;lt;AUTH_PIN_TYPE&amp;gt;[^ ]+)( [^ ]+){2}$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The interactive field extractor gives this error:
Invalid regex: no named extraction at position 24 (i.e., "( [^ ]+){2..."). Expected "(?Ppattern)"&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2010 08:42:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/quot-Invalid-Regex-no-named-extraction-quot-in-the-interactive/m-p/9543#M166</guid>
      <dc:creator>dinh</dc:creator>
      <dc:date>2010-01-30T08:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: "Invalid Regex: no named extraction" in the interactive field extractor</title>
      <link>https://community.splunk.com/t5/Splunk-Search/quot-Invalid-Regex-no-named-extraction-quot-in-the-interactive/m-p/9544#M167</link>
      <description>&lt;P&gt;Can you provide more details?  What are you trying to match?&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2010 08:51:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/quot-Invalid-Regex-no-named-extraction-quot-in-the-interactive/m-p/9544#M167</guid>
      <dc:creator>hulahoop</dc:creator>
      <dc:date>2010-01-30T08:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: "Invalid Regex: no named extraction" in the interactive field extractor</title>
      <link>https://community.splunk.com/t5/Splunk-Search/quot-Invalid-Regex-no-named-extraction-quot-in-the-interactive/m-p/9545#M168</link>
      <description>&lt;P&gt;I belive you need to use all named captures. ie (?P...)&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jan 2010 01:16:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/quot-Invalid-Regex-no-named-extraction-quot-in-the-interactive/m-p/9545#M168</guid>
      <dc:creator>GpMidi</dc:creator>
      <dc:date>2010-01-31T01:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: "Invalid Regex: no named extraction" in the interactive field extractor</title>
      <link>https://community.splunk.com/t5/Splunk-Search/quot-Invalid-Regex-no-named-extraction-quot-in-the-interactive/m-p/9546#M169</link>
      <description>&lt;P&gt;As far as I can see, and testing in Splunk 4.0.8 using &lt;CODE&gt;rex&lt;/CODE&gt;, EXTRACT in props.conf, and a REPORT clause, there appears to be nothing wrong with it (assuming it correctly captures your fields). Where are you seeing this error?&lt;/P&gt;

&lt;P&gt;Update: in the IFE, as GpMidi says, you can use only named captures, i.e., implicit captures like &lt;CODE&gt;(...)&lt;/CODE&gt; are not accepted. If you just wish to group (without an implicit capture), use &lt;CODE&gt;(?:...)&lt;/CODE&gt; instead. So your regex in this case would have to be: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(?P&amp;lt;AUTH_PIN_TYPE&amp;gt;[^ ]+)(?: [^ ]+){2}$
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 Feb 2010 16:25:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/quot-Invalid-Regex-no-named-extraction-quot-in-the-interactive/m-p/9546#M169</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-02-01T16:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: "Invalid Regex: no named extraction" in the interactive field extractor</title>
      <link>https://community.splunk.com/t5/Splunk-Search/quot-Invalid-Regex-no-named-extraction-quot-in-the-interactive/m-p/9547#M170</link>
      <description>&lt;P&gt;I see it on Splunk 4.0.9(74233) when I put it in the interactive field extractor.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2010 01:05:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/quot-Invalid-Regex-no-named-extraction-quot-in-the-interactive/m-p/9547#M170</guid>
      <dc:creator>dinh</dc:creator>
      <dc:date>2010-02-02T01:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: "Invalid Regex: no named extraction" in the interactive field extractor</title>
      <link>https://community.splunk.com/t5/Splunk-Search/quot-Invalid-Regex-no-named-extraction-quot-in-the-interactive/m-p/9548#M171</link>
      <description>&lt;P&gt;blah blah blah MATCH_ME foo bar(end of line)&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2010 01:07:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/quot-Invalid-Regex-no-named-extraction-quot-in-the-interactive/m-p/9548#M171</guid>
      <dc:creator>dinh</dc:creator>
      <dc:date>2010-02-02T01:07:30Z</dc:date>
    </item>
  </channel>
</rss>

