Advertisement
rfmonk

re_escape_escapes.py

Jan 2nd, 2014
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3.  
  4. from re_test_patterns import test_patterns
  5.  
  6. test_patterns(
  7.     r'\d+ \D+ \s+',
  8.     [(r'\\.\+', 'escape code'),
  9.      ])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement