Using nil instead of sregex::compile("")