Advertisement
Guest User

Untitled

a guest
Feb 27th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. start=match.start()
  2.  
  3. end=match.end()
  4.  
  5. print 'Found "%s" at %d:%d' %(text[start:end],start,end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement