<?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 RegEx for non-delimited SSNs in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-for-non-delimited-ssns/m-p/48084#M1088</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the built-in non-delimited SSN data pattern generates too many false positives to be useful for us.&amp;nbsp; I therefore want to build a regex that will accomplish the same thing.&amp;nbsp; It appears that the regex engine in the Palo Alto is very limited in what it can handle.&amp;nbsp; For example, it does not recognize "\b", any "(?" construct, or "{n}" pattern counts.&amp;nbsp; How can I create a regex that will look for valid SSNs that are word-boundary delimited?&amp;nbsp; Note that due to the nature of my business, I cannot count on any specific text string appearing in a file that contains SSNs.&amp;nbsp; There are various characteristics I can likely count on, but they all require variable and optional pattern matching.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, what is the actual overhead associated with checking outbound documents using a regex?&amp;nbsp; Will I see a significant performance hit?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jun 2013 16:11:58 GMT</pubDate>
    <dc:creator>tspaby</dc:creator>
    <dc:date>2013-06-14T16:11:58Z</dc:date>
    <item>
      <title>RegEx for non-delimited SSNs</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-for-non-delimited-ssns/m-p/48084#M1088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the built-in non-delimited SSN data pattern generates too many false positives to be useful for us.&amp;nbsp; I therefore want to build a regex that will accomplish the same thing.&amp;nbsp; It appears that the regex engine in the Palo Alto is very limited in what it can handle.&amp;nbsp; For example, it does not recognize "\b", any "(?" construct, or "{n}" pattern counts.&amp;nbsp; How can I create a regex that will look for valid SSNs that are word-boundary delimited?&amp;nbsp; Note that due to the nature of my business, I cannot count on any specific text string appearing in a file that contains SSNs.&amp;nbsp; There are various characteristics I can likely count on, but they all require variable and optional pattern matching.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, what is the actual overhead associated with checking outbound documents using a regex?&amp;nbsp; Will I see a significant performance hit?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 16:11:58 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-for-non-delimited-ssns/m-p/48084#M1088</guid>
      <dc:creator>tspaby</dc:creator>
      <dc:date>2013-06-14T16:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: RegEx for non-delimited SSNs</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-for-non-delimited-ssns/m-p/48085#M1089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Making test on my side and for your request it seem that regex which are today implemented in the PA will be not enough for your need.&lt;/P&gt;&lt;P&gt;Maybe you can make a feature request to your local Pa SE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In &lt;A _jive_internal="true" href="https://live.paloaltonetworks.com/docs/DOC-4118"&gt;https://live.paloaltonetworks.com/docs/DOC-4118&lt;/A&gt; you will be able to find info concerning data pattern limitation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 08:54:11 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-for-non-delimited-ssns/m-p/48085#M1089</guid>
      <dc:creator>VinceM</dc:creator>
      <dc:date>2013-06-17T08:54:11Z</dc:date>
    </item>
  </channel>
</rss>

