On Thu, Nov 25, 2010 at 15:11, Kenneth Gonsalves <law...@au-kbc.org> wrote: > r'(^0\d{2}[-\s]{1}[1-6]{1}\d{7})|(^0\d{3}[-\s]{1}[1-6]{1}\d{6})|(^0 > \d{4}[-\s]{1}[1-6]{1}\d{5})' > > any clues on how to make it shorter?
The {1}s are redundant. -- http://about.me/rosh _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers