match multi characters if both end is the same characters
add test for multi characters at both end