On Wed, Dec 5, 2012 at 5:04 PM, Ed Owens <eowens0...@gmx.com> wrote: > >>> m = re.search(':\b(\w+\s+\d+,\s+\d+,\s+\d+:\d+.m\s+\w+)<', str(string)) > >>> print m > None > >>> >
Okay, without the double-quote (it wasn't the colon that I was worried about, it was the double-quote), I believe the issue now is that you have a space in the string (after the colon), but \b is a zero-width match. -- Brett Ritter / SwiftOne swift...@swiftone.org
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor