On Thu, 2010-11-25 at 16:17 +0530, Lakshman Prasad wrote: > Rather than flexing the regex to everything it *can do*, I'd do the > following: > > * Capture 2 parts of the number separated by a "-" or a > whitespace: /^(\d+)[ > \-]+(\d+)$/ > * Use the captured parts to verify the lengths etc, using simple > normal > python.
sure - I can think of several ways to do this, but as explained, I need a regex. -- regards Kenneth Gonsalves _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers