Restrict node name characters to avoid extra match.