4 ms·
I must be missing something because the corrected regex (/\Aauthor ([^<]*)[ ]{0,1}<(.+)>/) seems to behave the same as the problematic one: https://regexr.co
by sanjayjc 3y ago
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.
- jwilk 3y agoThe problem wasn't that the regexp matched the second "author" line, but that it didn't match the first one.