Removed spurious print
FIX regular expressions