better printout of regex results