Positions of regexp groups
Tim Peters
tim.peters at gmail.com
Fri Apr 8 09:49:30 EDT 2005
More information about the Python-list mailing list
Fri Apr 8 09:49:30 EDT 2005
- Previous message (by thread): Positions of regexp groups
- Next message (by thread): Positions of regexp groups
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Magnus Lie Hetland] > Just a quick question: Does anyone have a simple way of finding the > positions (start, end) of the groups in a regexp match? AFAICS, the re > API can only return the contents...? Read the docs for match objects, esp. the start(), end(), and span() methods.
- Previous message (by thread): Positions of regexp groups
- Next message (by thread): Positions of regexp groups
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list