Correctly print strings and other literals
Fix regexps at the end of lists
Fix percent regexps at end of list