Menu

#26 Digits in wikiwords

open
nobody
5
2004-09-30
2004-09-30
No

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.

Discussion

  • Gaëtan Frenoy

    Gaëtan Frenoy - 2004-09-30
    • labels: --> FlexWikiPad
     
  • Craig Andera

    Craig Andera - 2004-09-30

    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.

     

Log in to post a comment.