add test for remove_tag_prefix with suffix dot
more compact regexp code