title: Unbalanced parenthesis python
body: <p>I have the following code:</p>
  
  <pre><code>def commandType(self):
      import re
      print self.cmds[self.counter]
      if re.match("@",self.cmds[self.counter]):
          return Parser.A_COMMAND
  
      elif re.match('(',self.cmds[self.counter]):
          return Parser.L_COMMAND
  
      else:
          return Parser.C_COMMAND
  </code></pre>
  
  <p>and on this line: <code>elif re.match('(',self.cmds[self.counter]):</code></p>
  
  <p>I'm getting an error.</p>
  
  <p>What am I doing wrong?</p>