Iain King wrote:
> steven = re.compile("Ste(v|ph|f|ff)(e|a)n")
> steven = ["Steven", "Stephen", "Stefen", "Steffen", "Stevan",
> "Stephan", "Stefan", "Steffan"]
> 
> I know which I'd rather type.  'Course, if you can use a ready-built
> list of names...

Oh I agree, I'd rather *type* the former, but I'd rather *read* the
latter. :)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to