Subject: | Parsing of refs is too strict |
Just FYI, the PDF specification allows any amount of whitespace between the tokens in ‘Root 1 0 R’ etc. I see code like this in your module:
m'\/Root\s+(\d+)\s{1,2}\d+\s{1,2}R'so
which only allows up to two whitespace characters. (Also, \0 is considered whitespace in PDF syntax, but PDF::Reuse won’t recognise it as such.)