The regex used for matching extensions in links requires the href to end
immediately after the extension. Links with appended HTML anchor
references therefore will not be matched.
This is fixed by allowing both the end-of-string as well as a number
sign to be matched.
The regex used for matching extensions in links requires the href to end immediately after the extension. Links with appended HTML anchor references therefore will not be matched.
This is fixed by allowing both the end-of-string as well as a number sign to be matched.