Why not use a regex literal here?