<?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: Regexp case sensitivity in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/regexp-case-sensitivity/m-p/6371#M4636</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right, your answer doesn't answer my question &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://live.paloaltonetworks.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; and I only ask when I can't find answer in the manual &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://live.paloaltonetworks.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Feb 2011 09:50:26 GMT</pubDate>
    <dc:creator>SimasK</dc:creator>
    <dc:date>2011-02-10T09:50:26Z</dc:date>
    <item>
      <title>Regexp case sensitivity</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/regexp-case-sensitivity/m-p/6369#M4634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to create case insensitive regexp for data filtering, however couldn't find any standard regexp way which would work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also when I tried to workaround and created following data pattern [Vv][Ii][Dd][Ii][Nn][Ii][Aa][Mn] (which is perfectly valid regexp in my opinion)&amp;nbsp; I received data-object-patter-validation error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions how to do it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 12:51:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/regexp-case-sensitivity/m-p/6369#M4634</guid>
      <dc:creator>SimasK</dc:creator>
      <dc:date>2011-02-07T12:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Regexp case sensitivity</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/regexp-case-sensitivity/m-p/6370#M4635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While it doesn't answer your specific question, the Admin Guide does a fair job of explaining how the regex works in PAN-OS. I've extracted the pages from a section called "About Data Patterns" and attached them here.&amp;nbsp; In short, though, the data patterns are case sensitive, so I think you'd have to use an "or" function for the pattern you're looking for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An excerpt:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;The following are examples of valid custom patterns:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;BR /&gt;.*((Confidential)|(CONFIDENTIAL))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; – Looks for the word “Confidential” or “CONFIDENTIAL” anywhere&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; – “.*” at the beginning specifies to look anywhere in the stream&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; – Does not match “confidential” (all lower case)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;.*(Press Release).*((Draft)|(DRAFT)|(draft))&lt;BR /&gt;– Looks for “Press Release” followed by various forms of the word draft, which may&lt;BR /&gt;indicate that the press release isn't ready to be sent outside the company&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In looking at the pattern you gave as an example, for one, I think the last letter is incorrect and you'd want it to be [Mm] and not [Mn].&amp;nbsp; I know, picky picky. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://live.paloaltonetworks.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp; Secondly, I think the pattern you want would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.*([Vv]).*([Ii]).*([Dd]).*([Ii]).*([Nn]).*([Ii]).*([Aa]).*([Mm])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if this is all you put in, this triggers an error, since the pattern fails to meet the minimum 7 byte requirement.&amp;nbsp; Don't ask me why, but that's happens when I try it.&amp;nbsp; So my other question is, can you front-end or back-end this with another string to meet the 7 bytes?&amp;nbsp; For example, when I use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test123.*([Vv]).*([Ii]).*([Dd]).*([Ii]).*([Nn]).*([Ii]).*([Aa]).*([Mm])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the pattern is accepted and I believe it would work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outside of this, I think you'd have to just use whatever you thought would be the most common capitalizations.... VIDINIAM, vidiniam, Vidiniam, VidiNiam, etc. and do OR functions around those as shown in the examples above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 07:09:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/regexp-case-sensitivity/m-p/6370#M4635</guid>
      <dc:creator>spolo</dc:creator>
      <dc:date>2011-02-08T07:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Regexp case sensitivity</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/regexp-case-sensitivity/m-p/6371#M4636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right, your answer doesn't answer my question &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://live.paloaltonetworks.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; and I only ask when I can't find answer in the manual &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://live.paloaltonetworks.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 09:50:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/regexp-case-sensitivity/m-p/6371#M4636</guid>
      <dc:creator>SimasK</dc:creator>
      <dc:date>2011-02-10T09:50:26Z</dc:date>
    </item>
  </channel>
</rss>

