Question
WikiWordsWithNumbers and
WikiNamesWithNumbers discuss the change to treat numbers as "lower case" in
WikiWords.
Many of our projects are named of the form LNNL, like A45T. Now that we recently upgraded TWiki to the latest version, we have lots of "question marked" wiki words all over the place. Every place with a project name is now seen as a
WikiWord without a topic. We'd have to put "nop" tags in hundreds of places to eliminate all the question marks.
Is there a way to disable the feature that treats numbers as lower case in
WikiWords?
Environment
--
AlanDayley - 06 Sep 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Short time workaround:
Patch the regex in
TWiki.pm. Look for this line:
$regex{wikiWordRegex} = qr/[$regex{upperAlpha}]+[$regex{lowerAlphaNum}]+[$regex{upperAlpha}]+[$regex{mixedAlphaNum}]*/o;
and replace it with this:
$regex{wikiWordRegex} = qr/[$regex{upperAlpha}]+[$regex{lowerAlpha}]+[$regex{upperAlpha}]+[$regex{mixedAlphaNum}]*/o;
Long term solution:
File a feature request (
WebCreateNewTopic to revert the spec change done for WikiWord regex.
--
PeterThoeny - 06 Sep 2007
Thanks, Peter.
Feature request made.
--
AlanDayley - 06 Sep 2007
For the record: Feature request in
DisableWikiWordsWithNumbers.
--
SteffenPoulsen - 06 Sep 2007