<?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: ASA RegEx Match in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/asa-regex-match/m-p/1490717#M663305</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did a short test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;^cisco.* should match anything begining with "cisco" followed by any number of characters.&lt;/P&gt;&lt;P&gt;--------------&lt;/P&gt;&lt;P&gt;ciscoasa# test regex cisco2.txt ^cisco.*&amp;nbsp; &lt;BR /&gt;INFO: Regular expression match succeeded.&lt;BR /&gt;ciscoasa# test regex 1_cisco2.txt ^cisco.*&lt;BR /&gt;INFO: Regular expression match failed.&lt;/P&gt;&lt;P&gt;---------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to match the ciscoX.txt files&lt;/P&gt;&lt;P&gt;-------&lt;/P&gt;&lt;P&gt;ciscoasa# test regex cisco2.txt cisco[0-9]\.txt&lt;BR /&gt;INFO: Regular expression match succeeded.&lt;BR /&gt;-------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Theory is regexps in test and in policy maps should be working same way ... provided no extra characters are added.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Jun 2010 09:11:01 GMT</pubDate>
    <dc:creator>Marcin Latosiewicz</dc:creator>
    <dc:date>2010-06-13T09:11:01Z</dc:date>
    <item>
      <title>ASA RegEx Match</title>
      <link>https://community.cisco.com/t5/network-security/asa-regex-match/m-p/1490716#M663303</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've configured a FTP inspect policy-map, within the policy map I'm using the match filename command to identify certain files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regex test ^cisco.*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map type inspect ftp FTP_PMAP&lt;/P&gt;&lt;P&gt;match filename regex test&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; reset&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I have is that the regex above does not work but the regex below does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regex test2 cisco.*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filenames are in the format cisco1.txt, cisco2.txt etc....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&amp;nbsp; the ASA is running version 8.2(2)&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 17:58:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-regex-match/m-p/1490716#M663303</guid>
      <dc:creator>peter.kersting</dc:creator>
      <dc:date>2019-03-11T17:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: ASA RegEx Match</title>
      <link>https://community.cisco.com/t5/network-security/asa-regex-match/m-p/1490717#M663305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did a short test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;^cisco.* should match anything begining with "cisco" followed by any number of characters.&lt;/P&gt;&lt;P&gt;--------------&lt;/P&gt;&lt;P&gt;ciscoasa# test regex cisco2.txt ^cisco.*&amp;nbsp; &lt;BR /&gt;INFO: Regular expression match succeeded.&lt;BR /&gt;ciscoasa# test regex 1_cisco2.txt ^cisco.*&lt;BR /&gt;INFO: Regular expression match failed.&lt;/P&gt;&lt;P&gt;---------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to match the ciscoX.txt files&lt;/P&gt;&lt;P&gt;-------&lt;/P&gt;&lt;P&gt;ciscoasa# test regex cisco2.txt cisco[0-9]\.txt&lt;BR /&gt;INFO: Regular expression match succeeded.&lt;BR /&gt;-------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Theory is regexps in test and in policy maps should be working same way ... provided no extra characters are added.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Jun 2010 09:11:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-regex-match/m-p/1490717#M663305</guid>
      <dc:creator>Marcin Latosiewicz</dc:creator>
      <dc:date>2010-06-13T09:11:01Z</dc:date>
    </item>
  </channel>
</rss>

