<?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: Cisco IDS/IPS regular expressions in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/cisco-ids-ips-regular-expressions/m-p/1034435#M78389</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[^a-z] would be "not character a-z"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[^ABCDZ]  would be "not character A or B or C or D or Z]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Nov 2008 14:56:04 GMT</pubDate>
    <dc:creator>wsulym</dc:creator>
    <dc:date>2008-11-10T14:56:04Z</dc:date>
    <item>
      <title>Cisco IDS/IPS regular expressions</title>
      <link>https://community.cisco.com/t5/network-security/cisco-ids-ips-regular-expressions/m-p/1034434#M78383</link>
      <description>&lt;P&gt;Is there any way to perform a NOT on a regular expression match.  For instance, in PCRE it would be !"/[A-Z]+/i".  I cannot determine if there is a valid way to do this on a Cisco IDS regex string.  Any help or info would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 11:22:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-ids-ips-regular-expressions/m-p/1034434#M78383</guid>
      <dc:creator>redray8</dc:creator>
      <dc:date>2019-03-10T11:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco IDS/IPS regular expressions</title>
      <link>https://community.cisco.com/t5/network-security/cisco-ids-ips-regular-expressions/m-p/1034435#M78389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[^a-z] would be "not character a-z"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[^ABCDZ]  would be "not character A or B or C or D or Z]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 14:56:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-ids-ips-regular-expressions/m-p/1034435#M78389</guid>
      <dc:creator>wsulym</dc:creator>
      <dc:date>2008-11-10T14:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco IDS/IPS regular expressions</title>
      <link>https://community.cisco.com/t5/network-security/cisco-ids-ips-regular-expressions/m-p/1034436#M78390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But how about against an entire expression.  Such as I want to say match on expression "BLAH\:[A-Z]+\n" then do a NOT on it.  So match if not equal to the entire expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 17:04:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-ids-ips-regular-expressions/m-p/1034436#M78390</guid>
      <dc:creator>redray8</dc:creator>
      <dc:date>2008-11-10T17:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco IDS/IPS regular expressions</title>
      <link>https://community.cisco.com/t5/network-security/cisco-ids-ips-regular-expressions/m-p/1034437#M78391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To some extent, there is a way to do this. It would need to be anchored, and couldn't contain a repetition operator.&lt;/P&gt;&lt;P&gt;And by anchored I mean tied to something, otherwise the first not class in the regex below ([^Qq]) would fire on every/any character that was not a Q or q.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I can say "not QUIT", regardless of case as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[^Qq]|[Qq][^Uu]|[Qq][Uu][^Ii]|[Qq][Uu][Ii][^Tt]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so:&lt;/P&gt;&lt;P&gt;BLAH([^Qq]|[Qq][^Uu]|[Qq][Uu][^Ii]|[Qq][Uu][Ii][^Tt])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matches:&lt;/P&gt;&lt;P&gt;BLAHz&lt;/P&gt;&lt;P&gt;BLAHqz&lt;/P&gt;&lt;P&gt;BLAHquiz&lt;/P&gt;&lt;P&gt;BLAHq1&lt;/P&gt;&lt;P&gt;etc. etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but would not match:&lt;/P&gt;&lt;P&gt;BLAHquit&lt;/P&gt;&lt;P&gt;BLAHQUIT&lt;/P&gt;&lt;P&gt;BLAHQUit&lt;/P&gt;&lt;P&gt;etc. etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So yes, but limited.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 19:44:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-ids-ips-regular-expressions/m-p/1034437#M78391</guid>
      <dc:creator>wsulym</dc:creator>
      <dc:date>2008-11-10T19:44:19Z</dc:date>
    </item>
  </channel>
</rss>

