<?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: IPS 5.X Regex String With Space? in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/ips-5-x-regex-string-with-space/m-p/575103#M92501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Aug 2006 11:29:50 GMT</pubDate>
    <dc:creator>mhellman</dc:creator>
    <dc:date>2006-08-31T11:29:50Z</dc:date>
    <item>
      <title>IPS 5.X Regex String With Space?</title>
      <link>https://community.cisco.com/t5/network-security/ips-5-x-regex-string-with-space/m-p/575098#M92490</link>
      <description>&lt;P&gt;If I want to match a string for the following, what should my regex value be?  Would it accept a space?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;user 1 1&lt;/P&gt;&lt;P&gt;-or-&lt;/P&gt;&lt;P&gt;get setup_&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to find documentation that tells me how to use a space in the regex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 10:11:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ips-5-x-regex-string-with-space/m-p/575098#M92490</guid>
      <dc:creator>NotMeHere</dc:creator>
      <dc:date>2019-03-10T10:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: IPS 5.X Regex String With Space?</title>
      <link>https://community.cisco.com/t5/network-security/ips-5-x-regex-string-with-space/m-p/575099#M92493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried pressing the spacebar;-)  &lt;/P&gt;&lt;P&gt;[Uu][Ss][Ee][Rr] 1 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another trick, one that Cisco often uses, is to enclose the space in brackets like so:&lt;/P&gt;&lt;P&gt;"[Uu][Ss][Ee][Rr][ ]1[ ]1"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It shouldn't make a difference in terms of matching, but it makes the regex more readable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 16:29:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ips-5-x-regex-string-with-space/m-p/575099#M92493</guid>
      <dc:creator>mhellman</dc:creator>
      <dc:date>2006-08-30T16:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: IPS 5.X Regex String With Space?</title>
      <link>https://community.cisco.com/t5/network-security/ips-5-x-regex-string-with-space/m-p/575100#M92496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We will actually stay away from a space inside brackets and use the hex representation \x20. It comes down to readability for us - a single space or a double space inside brackets looks very similar, but you can't mistake the hex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Uu][Ss][Ee][Rr]\x20[1]\x20[1]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 20:06:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ips-5-x-regex-string-with-space/m-p/575100#M92496</guid>
      <dc:creator>wsulym</dc:creator>
      <dc:date>2006-08-30T20:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: IPS 5.X Regex String With Space?</title>
      <link>https://community.cisco.com/t5/network-security/ips-5-x-regex-string-with-space/m-p/575101#M92497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a good point. Is that a new standard because there are lots of sigs with a [ ] in the regex.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 21:19:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ips-5-x-regex-string-with-space/m-p/575101#M92497</guid>
      <dc:creator>mhellman</dc:creator>
      <dc:date>2006-08-30T21:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: IPS 5.X Regex String With Space?</title>
      <link>https://community.cisco.com/t5/network-security/ips-5-x-regex-string-with-space/m-p/575102#M92499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you're saying that it will accept just a plain space?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if I wanted it to hit on lowercase only the following would work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get setup_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 21:25:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ips-5-x-regex-string-with-space/m-p/575102#M92499</guid>
      <dc:creator>NotMeHere</dc:creator>
      <dc:date>2006-08-30T21:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: IPS 5.X Regex String With Space?</title>
      <link>https://community.cisco.com/t5/network-security/ips-5-x-regex-string-with-space/m-p/575103#M92501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 11:29:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ips-5-x-regex-string-with-space/m-p/575103#M92501</guid>
      <dc:creator>mhellman</dc:creator>
      <dc:date>2006-08-31T11:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: IPS 5.X Regex String With Space?</title>
      <link>https://community.cisco.com/t5/network-security/ips-5-x-regex-string-with-space/m-p/575104#M92503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if I'd go call it a standard. We (meaning the sig team) tend to use the hex value (\x20) because it's a clearly definitive "thing" to represent one space, and one space only. We do it simply because there's no mistaking exactly what it is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 12:02:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ips-5-x-regex-string-with-space/m-p/575104#M92503</guid>
      <dc:creator>wsulym</dc:creator>
      <dc:date>2006-08-31T12:02:45Z</dc:date>
    </item>
  </channel>
</rss>

