use more permissive regex to detect gnode