I must be missing something because the corrected regex (/\Aauthor ([^<]*)[ ]{0,1}<(.+)>/) seems to behave the same as the problematic one:
https://regexr.com/7qrum
I wonder whether github may not be using PCRE.