This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests are now tracked at the
issue tracker at Github
FS#1648 Shorter acronyms "eat" longer ones
When two acronyms are defined where the shorter one is part of a longer one and the shorter one is defined first, the longer one will no longer be found.
foo common short variable
foobar common placeholder
The solution is to sort the acronmys by keylength before constructing the regexp
This confused me for a while. Your example won't be a problem. foo won't match in foobar.
This is a better example.
apache2 version 2 of a popular open source web server
apache2.2 the latest version of the popular open source web server
As mentioned by Andi in this forum thread, the same problem might occur with mime.conf:
I don't believe it is the same issue. I've run a simple test using a file called "junk.jnk2" and the following "conf/mime.local.conf"
the file was saved correctly as "junk.jnk2" and when its downloaded the file name is correct - junk.jnk2 and the mime type text/junk