Oops, changed an accidental href attribute to a class instead in the regex function.