<?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: Regex Extractions query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25856#M4914</link>
    <description>&lt;P&gt;Useful link thanks BobM&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2011 21:55:56 GMT</pubDate>
    <dc:creator>MHibbin</dc:creator>
    <dc:date>2011-11-30T21:55:56Z</dc:date>
    <item>
      <title>Regex Extractions query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25851#M4909</link>
      <description>&lt;P&gt;All, &lt;/P&gt;

&lt;P&gt;I just wanted to ask a question I should probably know the answer to, but have never been told, or found resources which answers the question...&lt;/P&gt;

&lt;P&gt;I am still fairly new to Regular Expressions, and not aware if this is a specific Splunk question or a RegEx question...&lt;/P&gt;

&lt;P&gt;What are the meanings of the values such as &lt;CODE&gt;(?i) (?P&amp;lt;fieldname&amp;gt;)&lt;/CODE&gt;&amp;lt;-i.e. the "&lt;CODE&gt;?P&lt;/CODE&gt;" ?&lt;/P&gt;

&lt;P&gt;Is there any documentation on this?&lt;/P&gt;

&lt;P&gt;Regards, &lt;/P&gt;

&lt;P&gt;MHibbin&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 21:10:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25851#M4909</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2011-11-30T21:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Regex Extractions query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25852#M4910</link>
      <description>&lt;P&gt;The &lt;CODE&gt;?P&lt;/CODE&gt; means matched strings are available in the rest of the regex. Most often you probably don't need this.&lt;/P&gt;

&lt;P&gt;Splunk uses Python's regex engine, so this documentation is valid: &lt;A href="http://docs.python.org/library/re.html"&gt;http://docs.python.org/library/re.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 21:30:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25852#M4910</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-11-30T21:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Regex Extractions query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25853#M4911</link>
      <description>&lt;P&gt;(?i) = ignore case&lt;BR /&gt;&lt;BR /&gt;
P = added by the python generated regex if you use the Interactive field extractor. Used for grouping.&lt;BR /&gt;
It will work without the P.&lt;BR /&gt;&lt;BR /&gt;
(?&amp;lt;   &amp;gt;)   = the field name you want to create base on the group extraction.&lt;/P&gt;

&lt;P&gt;You can find examples here:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.2.4/Knowledge/Createandmaintainsearch-timefieldextractionsthroughconfigurationfiles"&gt;http://docs.splunk.com/Documentation/Splunk/4.2.4/Knowledge/Createandmaintainsearch-timefieldextractionsthroughconfigurationfiles&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 21:35:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25853#M4911</guid>
      <dc:creator>rroberts</dc:creator>
      <dc:date>2011-11-30T21:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Regex Extractions query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25854#M4912</link>
      <description>&lt;P&gt;This is a PCRE (perl compatible regular expression) declaration of a named capture. &lt;/P&gt;

&lt;P&gt;The website &lt;A href="http://www.regular-expressions.info/named.html"&gt;http://www.regular-expressions.info/named.html&lt;/A&gt; gives a lot of explanation and examples.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 21:51:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25854#M4912</guid>
      <dc:creator>BobM</dc:creator>
      <dc:date>2011-11-30T21:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Regex Extractions query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25855#M4913</link>
      <description>&lt;P&gt;Useful information thanks Ayn&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 21:54:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25855#M4913</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2011-11-30T21:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Regex Extractions query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25856#M4914</link>
      <description>&lt;P&gt;Useful link thanks BobM&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 21:55:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25856#M4914</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2011-11-30T21:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Regex Extractions query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25857#M4915</link>
      <description>&lt;P&gt;Thanks for explanation, thanks rroberts&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 21:56:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25857#M4915</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2011-11-30T21:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Regex Extractions query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25858#M4916</link>
      <description>&lt;P&gt;the letter P didnt do any harm when i used in splunk web search with "rex". But if i use the word in props.conf, it fails to extract field. Not sure why.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2012 08:41:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25858#M4916</guid>
      <dc:creator>ma_anand1984</dc:creator>
      <dc:date>2012-04-24T08:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Regex Extractions query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25859#M4917</link>
      <description>&lt;P&gt;Can you post your regex here?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2012 15:37:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-Extractions-query/m-p/25859#M4917</guid>
      <dc:creator>rroberts</dc:creator>
      <dc:date>2012-04-24T15:37:03Z</dc:date>
    </item>
  </channel>
</rss>

