Update regex to not redirect legacy docs

Example: http://symfony.com/legacy/docs