SyntaxFix
Write A Post
Hire A Developer
Questions
re.Match objects have a number of methods to help you with this:
re.Match
>>> m = re.search("is", String) >>> m.span() (2, 4) >>> m.start() 2 >>> m.end() 4