re.match
Dave Brueck
dbrueck at edgix.com
Wed Mar 21 13:17:36 EST 2001
"Bob Cannard" <bob_cannard at mentor.com> wrote in message news:3AB8E6DF.A2C32AD8 at mentor.com...
> - Is this string a Thing? (re.match - er, no, that doesn't work,
> it only asks if this string begins with a Thing.)
>
Hi Bob,
'$' matches 'end of string', so you _can_ use re.match to test "Is this string a Thing".
-Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20010321/4115aaf1/attachment.html>
More information about the Python-list
mailing list