Advertisement
rfmonk

re_groups_nested2.py

Jan 2nd, 2014
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env python
  2.  
  3.  
  4. from re_test_patterns_groups import test_patterns2
  5.  
  6. test_patterns2(
  7.     'abbaabbba',
  8.     [(r'a((a*)(b*))', 'a followed by 0-n a and 0-n b'),
  9.      ])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement