Krenair

Untitled

May 12th, 2012
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. >>> bool(re.compile(r"f(unc|ield)_[1-9]{1,}_[a-zA-Z]{1,}$").match('09hiuhiuihu'))
  2. False
  3. >>> bool(re.compile(r"f(unc|ield)_[1-9]{1,}_[a-zA-Z]{1,}$").match('field_209_p'))
  4. False
Advertisement
Add Comment
Please, Sign In to add comment