PHP's regex engine (PCRE) supports recursion. A few others do, but you generally shouldn't count on it. However, if the engine does, then you can insert patterns used elsewhere like this:
(\w\d).*(?1)
Where the numbering as the same as that for backreferences. (?R)
would insert the whole pattern.