Better regex matches for anchor and area links