When a capturing group has a name (e.g., (?<name>...)), backreferences to that group should use the named syntax \k<name> instead of the numeric syntax \1.
Named backreferences are more readable and maintainable, especially when regex patterns change over time.
This rule reports backreferences that do not use the name of their referenced capturing group.
If you prefer the brevity of numeric backreferences, or if your codebase has established conventions around using numeric backreferences even for named groups, you might prefer to disable this rule.
Some teams find numeric backreferences more familiar from other regex dialects.