title: unexpected end of regular expression
body: <p>I want to get only the file name with extension from the path:</p>
  
  <pre class="lang-none prettyprint-override"><code>C:\\Users\\anandada\\workspace\\MyTestProject\\src\\OpenTest.c
  </code></pre>
  
  <p>The statement below,</p>
  
  <pre class="lang-py prettyprint-override"><code>fileName = re.match("[^\\]*.c$", fileName)
  </code></pre>
  
  <p>gives error: </p>
  
  <blockquote>
    <p>unexpected end of regular expression</p>
  </blockquote>
  
  <p>I am using python 3.3.2</p>