Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 9th, 2010 | Syntax: None | Size: 0.22 KB | Hits: 67 | Expires: Never
Copy text to clipboard
  1. #!/usr/bin/python
  2. import sys
  3. import re
  4. import string
  5. import os
  6.  
  7. matcher = re.compile(r'.*re[\[:{(]', re.I)
  8.  
  9. for linea in sys.stdin.readlines():
  10.         if not matcher.match(linea):
  11.                 print linea.rstrip()