Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. text = 'so foo is the opposite of bar but without foo there is no bar?'
  2. exp = '(foo).*?(bar)'
  3. searched = cre.research(exp, text)
  4. print(searched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement