Newbie backreference question
- From: paulm <paulm@xxxxxxxxxxxxxx>
- Date: Thu, 30 Jun 2005 16:12:56 -0500
Hi,
In perl I can do something like:
$a = 'test string';
$a =~ /test (\w+)/;
$b = $1;
print $b . "\n";
and my output would be "string".
How might this snippet be written in python?
Thanks to all...
.
- Prev by Date: Re: Python for everything?
- Next by Date: Re: Python for everything?
- Previous by thread: Python for everything?
- Index(es):