<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<blockquote cite="mid1058008763john.rankin@affinity.co.nz" type="cite">
  <blockquote type="cite">
    <pre wrap="">The other approach is to adjust the $WikiWordPattern to require at
least two lowercase letters, but that has its own set of issues.
At any rate, it won't happen anytime soon.
 
This is a reasonable interim solution. Could someone help me
with an addition to include wikiwords with numbers -- thus MR2
would be treated as an acronym and ignored as a wikiword?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
The markup extensions recipe tested the following pattern, which
is currently disabled:

## require 2 lower and upper case characters for a WikiWord
$WikiWordPattern = '[[:upper:]][[:alnum:]]*(?:[[:upper:]][[:lower:]0-9][[:lower:]0-9]|[[:lower:]0-9][[:lower:]0-9][[:upper:]]|[[:lower:]0-9][[:upper:]]+[[:lower:]0-9])[[:alnum:]]*';

Yuck!!

A modified abbreviation pattern is:
SDV($AbbreviationPattern,
  "[[:upper:]]+(?:[[:upper:]][[:lower:]0-9]|[[:lower:]0-9][[:upper:]])[[:upper:]]*");
Markup("abbr",'&lt;`wikiword',"/`?\\b($AbbreviationPattern)\\b/e","Keep('$1')");

Try that, which incorporates Patrick's suggested sequence change.</pre>
</blockquote>
>From a quick test this works great. As an added bonus it avoids the
spacing problem for number-included non-wiki-words (i.e., MR2 with
WikiWordCount['MR2']=0). (ref
<a class="moz-txt-link-freetext" href="http://www.solidgone.com/pmwiki/index.php?n=Main.WikiSandbox">http://www.solidgone.com/pmwiki/index.php?n=Main.WikiSandbox</a> -- I have
no WikiWordCounts defined, only using the modified abbreviation pattern
above).<br>
</body>
</html>