The [] in regex is meant for matching any single character from a set, like [abc] will match either a, b, or c. Using [\d] is unnecessary since it’s a set with just one digit class; \d alone suffices. This is the cause of “Replace this character class by the character itself”.
Similarly, {1} is superfluous because regex assumes one occurrence by default.
Your regex could be simplified to /^(\d)(\d{3})(\d{3})(\d+)$/