Changed regex module to re2