Digits in wikiwords
Brought to you by:
candera
Hello,
In the definition of wikiwords, nothing is said about
digits (0-9) in wikiwords ? This leads to some kind of
inconsistency :
- MeetingSep2004 is a wikiword
- Sep2004Meeting is _not_ a wikiword
I would expect that both words mentionned above are
recognised as wikiwords.
By looking at the regular expression used for wikiwords,
I am also surprised to see two subexpressions ? Is it
more efficient like this ?
What about:
[A-Z][A-Za-z0-9]*[a-z][A-Za-z0-9]*[A-Z][A-Za-z0-9]*
Thanks.
Logged In: YES
user_id=879696
You're totally right, of course. But I'm going to be
overhauling the formatting engine soon to make changes like
this (and lots of other cool things) possible just by
changing your configuration file. So you'll be able to
change the definition of a wikiword to whatever you like. Of
course the regex you suggest makes sense as a default.
Also note that "Follow link"/ctrl-L still works even if the
word isn't underlined as a link.