Rename regex printing function to be shorter and more descriptive.