use better lambda regex