add three string matcher function impl