Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- from re_test_patterns import test_patterns
- test_patterns(
- 'This is some text -- with punctuation.',
- [('[^-. ]+', 'sequences without -, ., or space'),
- ])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement