Re: Problems with regular expressions

2007-06-14 Thread Jay Loden
Carlos Luis Pérez Alonso wrote: > I have the next piece of code: > > > if re.search('^(taskid|bugid):\\d+',logMessage): > return 0 > else: > sys.stderr.write("El comentario tiene que contener el taski

Re: Problems with regular expressions

2007-06-14 Thread Gabriel Genellina
En Thu, 14 Jun 2007 21:42:02 -0300, Carlos Luis Pérez Alonso <[EMAIL PROTECTED]> escribió: > I have the next piece of code: > > if re.search('^(taskid|bugid):\\d+',logMessage): > return 0 > else: > sys.stde

Problems with regular expressions

2007-06-14 Thread Carlos Luis Pérez Alonso
I have the next piece of code: if re.search('^(taskid|bugid):\\d+',logMessage): return 0 else: sys.stderr.write("El comentario tiene que contener el taskid: o el bugid:") return