Take a JavaScript file, add lots of comments in the form "// blaa" behind the metadata block. Can have a newline after the metadata, which should prevent parser from continuing.
Used regex approach is just too slow and complicated. Simplify with line-iterating approach.
Take a JavaScript file, add lots of comments in the form "// blaa" behind the metadata block. Can have a newline after the metadata, which should prevent parser from continuing.
Used regex approach is just too slow and complicated. Simplify with line-iterating approach.