regular expression
Jeff Shipman
shippy at cs.nmt.edu
Thu Feb 24 11:33:25 EST 2000
In order to grab the groups that you matched with
parenthesis, use '\g<#>' where # is the group number.
So, in this case, you would use '\g<1>'. That
should work. If not, bonk me over the head. =)
courtneyb wrote:
> How do u return the content between the pre tags?
--
+-----------------------------------------------------+
| Jeff "Shippy" Shipman E-Mail: shippy at cs.nmt.edu |
| Computer Science Major ICQ: 1786493 |
| New Mexico Institute of Mining and Technology |
| Homepage: http://www.nmt.edu/~shippy |
+-----------------------------------------------------+
More information about the Python-list
mailing list