Replace match with end_with: more readable, faster
Merge pull request #8087 from cirosantilli/end_with

Replace match with end_with: more readable, faster