<?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 Issue in Custom Signatures</title>
    <link>https://live.paloaltonetworks.com/t5/custom-signatures/regex-issue/m-p/212743#M244</link>
    <description>&lt;P&gt;Thank you for the answer.&amp;nbsp; I figured it out just this morning as well.&amp;nbsp; There is another option which is to use hex in place of the integers so that 176-179 becomes [\xB0-B3\x]&lt;/P&gt;</description>
    <pubDate>Wed, 02 May 2018 18:41:11 GMT</pubDate>
    <dc:creator>dkramer</dc:creator>
    <dc:date>2018-05-02T18:41:11Z</dc:date>
    <item>
      <title>Regex Issue</title>
      <link>https://live.paloaltonetworks.com/t5/custom-signatures/regex-issue/m-p/211688#M240</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hey Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having an issue that I can't explain.&amp;nbsp; I am building a signature to match on IP addresses in the X-Forwarded-For Http header.&amp;nbsp; what I have come up with is this: "For: 1\.2\.[3-4]\..*"&amp;nbsp; This is working well, but I am having an issue with certain ranges I have one that is "For: x\.x\.[176-179]\..*"&amp;nbsp; this throws an invalid pattern error and I have it narrowed down to the actual range of 176-179.&amp;nbsp; If&amp;nbsp;I switch that to be [170-179] it accepts the pattern fine.&amp;nbsp; Has anyone seen this issue before?&amp;nbsp; If so how did you fix it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 14:12:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/custom-signatures/regex-issue/m-p/211688#M240</guid>
      <dc:creator>dkramer</dc:creator>
      <dc:date>2018-04-25T14:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Regex Issue</title>
      <link>https://live.paloaltonetworks.com/t5/custom-signatures/regex-issue/m-p/212708#M243</link>
      <description>&lt;P&gt;the [] operators do not work the way you think in regex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[170-179] means "1, or 7, or a number between&amp;nbsp;0 and 1 inclusive, or 7 or 9"&lt;/P&gt;&lt;P&gt;therefore, [176-179] means "1, or 7, or a number between 6 and 1 inclusive (this is invalid), or 7, or 9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;put another way, the [] operators mean "one of these characters"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to match numbers between 176 and 179, inclusive you should have "17[6-9]"&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 17:26:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/custom-signatures/regex-issue/m-p/212708#M243</guid>
      <dc:creator>JoeAndreini</dc:creator>
      <dc:date>2018-05-02T17:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Regex Issue</title>
      <link>https://live.paloaltonetworks.com/t5/custom-signatures/regex-issue/m-p/212743#M244</link>
      <description>&lt;P&gt;Thank you for the answer.&amp;nbsp; I figured it out just this morning as well.&amp;nbsp; There is another option which is to use hex in place of the integers so that 176-179 becomes [\xB0-B3\x]&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 18:41:11 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/custom-signatures/regex-issue/m-p/212743#M244</guid>
      <dc:creator>dkramer</dc:creator>
      <dc:date>2018-05-02T18:41:11Z</dc:date>
    </item>
  </channel>
</rss>

