added regex for tm comments