A nested reference in regular expressions is a (back)reference to what a group matched within the definition of that group.