mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-11 02:15:10 -05:00
* Loosen author tag parsing Also make the code more efficient and easier to read. 1. Arbitrary text, except for newline and @, is allowed for the author name. 2. Arbirtrary text, except for newline, is allowed for the email address. 3. Newline is treated as a match for an open < I tried to allow newlines in the author and email, but it was ambiguous with the end of the tag. I also got rid of the two lookaheads and unified the trailing comment handling. Fixes #41804 * remove hardmode test since it did not reveal anything new