[Tutor] Regular expressions question
Brett Ritter
swiftone at swiftone.org
Thu Dec 6 01:24:20 CET 2012
On Wed, Dec 5, 2012 at 4:13 PM, Ed Owens <eowens0124 at gmx.com> wrote:
> >>> str(string)
> '[<div class="wx-timestamp">\n<div class="wx-subtitle
> wx-timestamp">Updated: Dec 5, 2012, 5:08pm EST</div>\n</div>]'
> >>> m = re.search('":\b(\w+\s+\d+,\s+\**d+,\s+\d+:\d+.m\s+\w+)<',
> str(string))
> >>> print m
> None
>
It starts with ":
which doesn't appear in your string.
--
Brett Ritter / SwiftOne
swiftone at swiftone.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20121205/c84031ce/attachment-0001.html>
More information about the Tutor
mailing list