regular expression
Jeff Shipman
shippy at cs.nmt.edu
Thu Feb 24 11:33:25 EST 2000
More information about the Python-list mailing list
Thu Feb 24 11:33:25 EST 2000
- Previous message (by thread): regular expression
- Next message (by thread): regular expression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 | +-----------------------------------------------------+
- Previous message (by thread): regular expression
- Next message (by thread): regular expression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list