I took that isbn-plugin
http://wiki.splitbrain.org/plugin:isbn and simplified it to automatically construct a PubMed link when one writes eg PMID 123456~, as MediaWiki does (this is hugely useful for biologists).
I can send it if somebody is interested.
Else i had a question, in the following:
function connectTo($mode) {
$this->Lexer->addSpecialPattern("PMID.+?~",$mode,'plugin_pmid');
}
there is a pattern "
+?~" which I guess means "any non-zero number of characters". Where is that syntax documented; specifically how does one write a pattern that will match PMID 123456789 without the trailing "~" which i don't like, eg in traditional regular language notation: PMID(space_character)^+(digit_character)^*non-digit
Many thanks in advance