News for hackers. Stuff that matters.
Re:Forging Signed Commits on GitHub by sanjayjc on Tuesday January 23, 2024 @10:03AM (#39104211)
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.
Re:Forging Signed Commits on GitHub by jwilk on Tuesday January 23, 2024 @10:25AM (#39104605)
The problem wasn't that the regexp matched the second "author" line, but that it didn't match the first one.