Guest User

Untitled

a guest
Jan 20th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. >>> import re
  2. >>> a = 'abcde'
  3. >>> re.match(r'b', a)
  4. >>> re.search(r'b', a)
  5. <_sre.SRE_Match object at 0xffe25c98>
  6. >>> re.search(r'^b', a)
  7. >>>
Add Comment
Please, Sign In to add comment