Improving the efficiency of your regular expressions
abseil.io
abseil.io
This is something the compiler should do for me.
Also, assuming RE2 works like other engines, it also couldn't convert to a partial match without the .* prefix+suffix even if .* matched any char, because you might then ask for capture group 0