Fix wrong replacement of ends_with functions with '/'
Merge pull request #1 from kaustavdm/master

Fix ends_with functions that were wrongly replaced with '/'