Fixed anchor is null issue pointed out by @darkwing

Fixed the anchor is null issue. The issue was caused because a globally matching regex was being used to find and cache individual links.

Sorry for the delay :monkey_face: I was busy reading Game of Thrones :)