Made #prereg tag link compatible with #reg for backward compatibility

As title. Thanks!