When checking if replacement string is within search string, allow for possibility that replacement string is empty
When checking if replacement string is within search string, allow for possibility that replacement string is empty

cpsolver/Dashrep-language,cpsolver/Dashrep-language,cpsolver/Dashrep-language