Different regex for user/tap/formula and user/tap.

Closes #23430.