Guest User

Untitled

a guest
Jan 6th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. IN = 'esdfd((zxcv)(esdf'
  2.  
  3. def with_re(input_str):
  4.     p = re.compile('\(([a-z]+)')
  5.     m = p.match(input_str)
  6.     print(p)
  7.     print(m)
  8.     print('-')
  9.  
  10. v = with_re(IN)
Advertisement
Add Comment
Please, Sign In to add comment