On 15 Apr 2009, at 08:31, Andreas Gohr wrote:
<snip> function. Chris since you're the author of the original function, could you have a look at Mike's code and maybe provide a unit test?
Patch sent with two tests, one for the lexer and one for the parser.In addition to my previous comment, splitting based on strpos will fail in circumstance like ...
acronym: FOO wiki text: FOOBAR FOOthe regex will correctly match the FOO at the end, while strpos will incorrectly match the FOO in FOOBAR.
- Chris -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist