Replace re with re2