write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212.
Devin Jeanpierre
jeanpierreda at gmail.com
Sat Sep 29 00:25:50 EDT 2012
On Fri, Sep 28, 2012 at 9:58 PM, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
> What's the run time speed like? How much memory does it use? Shouldn't you
> be using the regex module from pypi instead of the standard library re?
> Guess who's borrowed the time machine?
O(n), O(1), and I used RE2.
-- Devin
More information about the Python-list
mailing list