string prefix match flipped bit