1
Vote

Regex Prevents PDF to merge

description

Hello,

I'm having a issue here, working with a lot of XML data, and putting them to a well-formed report, and, for a reason i don't know, the regex (on my file, fpdfmerge.php, at line 666, wich reads XObjets) has the following regex: (/[^%\[\]<>\(\)\r\n\t/]+) Do

With this pattern, any text present in the document that has ' Do' will cause the pdf merge to crash and fail. How can i fix this? For what i could understand the treatment is to find specific XObjects and do something to them, however the Regex finds text according to Street information and sometimes Names, is there any workaround on this?

Exception is:
Undefined index: xxxxxxxxxx - in fpdf_merge.php on line 668 : reference d'object inconnue

I could paste the value of the 'content' variable here, but its too extensive

comments