davideuler / chm2pdf

Automatically exported from code.google.com/p/chm2pdf
GNU General Public License v2.0
0 stars 0 forks source link

links not working in the PDF with upper/lower case spelling error #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In my application some links are not working in the PDF as I have some 
upper/lower case errors in links. As CHM is "windows stuff" this doesen't 
matter there, but "here" it does!

So how about making the 1. pass matching case insensitive adding the (?i) 
modifier in the regular expression?

Original issue reported on code.google.com by reto.kn...@gmail.com on 18 Nov 2011 at 6:05

GoogleCodeExporter commented 9 years ago
This is the first time I try to generate a patch... hope this is correct!

- added (?i) modifier to make a case insensitive match for not breaking working 
links on windows in CHM files
- added " to the match criteria to avoid wrong match (eg this.htm matched also 
do_this.htm before)

Original comment by reto.kn...@gmail.com on 20 Nov 2011 at 6:46

Attachments: