Advertisement
rfmonk

re_charset_exclude.py

Jan 2nd, 2014
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3.  
  4. from re_test_patterns import test_patterns
  5.  
  6. test_patterns(
  7.     'This is some text -- with punctuation.',
  8.     [('[^-. ]+', 'sequences without -, ., or space'),
  9.      ])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement