Hello, 2010/5/6 james_027 <cai.hai...@gmail.com>: > I was working with regex on a very large text, really large but I have > time constrained. Does python has any other regex library or string > manipulation library that works really fast?
re2 (http://code.google.com/p/re2/) is suppossed to be faster than the standard library in python. Unfortunately, it's implemented in C++ and there isn't an official python wrapper for it. However, you can find a wrapper that can be useful for you here: http://github.com/facebook/pyre2 Best regards, Javier -- http://mail.python.org/mailman/listinfo/python-list