> Why is it better? Did you ran any tests? Does it compress more? Is it > faster? Yeah, maybe 'better' was the wrong word, i just tried to throw in some ideas. And the only tests i did were on a 400-bogomips machine where some regex are faster than iterating through the whole file. Anyway, since the result is cached in DW there wouldn't be any improvement at all. > Did you check compatibility by running DokuWiki's unit tests against it? No, not yet... I'll invest some time if there is interrest. > Even if it's better than the current function, your license is > incompatible with the GPL: Just changed it... Cheers Alex -- e-design - Hard- & Softwaredesign Inh. Alexander Krause Amtmann-Kästner-Platz 11 99091 Erfurt Mail alexander.krause@xxxxxxxxxxxxxx Tel. +49 (179) 4725826 Fax. +49 (361) 6008915 -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist