Make pattern check from start of string.