The different color will make the name stand out, as it should, instead of looking the same as all the regex strings.
They are not documentation, they are functional elements of nano.