Added pattern with two substrings