[Zope3-dev] regex bug in zope/rdb/gadfly/pygram.py ?

Baiju M mbaiju at zeomega.com
Tue Feb 20 08:22:40 EST 2007


Hi,
     When I run : python2.4 utilities/finddeps.py -m zope.rdb -p
I get an error like this: http://zope3.pastey.net/6903

This is the code:

  pycommentre = r"(#.*)"
  pywhiteoutre = r"([ \t\r\014]|[\]\n)*%s?" % pycommentre
  pywhiteout = re.compile(pywhiteoutre)

If I change the second line like this, the error goes.

   pywhiteoutre = r"([ \t\r\014]|[\\]\n)*%s?" % pycommentr

I am not sure about the problem/solution, I was just trying to find the 
dependencies
of zope.rdb.

Regards,
Baiju M



More information about the Zope3-dev mailing list