Nicer Function#to_s
Cache regex literals, again