I thought I already had a page like this here, but apparently not. I want to follow up on the definition of a
TWikiWord as shown on
WikiWord, which is:
See:
Contents
Syntax of a WikiWord
(from
WikiWord)
- Uppercase letter(s)
- Lowercase letter(s) or numbers(s)
- Uppercase letter(s)
- Optional lowercase or uppercase letter(s) or number(s)
WikiWord syntax in
Extended Backus.Naur form
(EBNF):
wikiWord = upperLetters , lowerNumLetters , upperLetters , { alphaNum } ;
upperLetters = upperCase , { upperCase } ;
lowerNumLetters = lowerNum , { lowerNum } ;
alphaNum = upperCase | lowerCase | digit ;
lowerNum = lowerCase | digit ;
lowerCase = "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i"
| "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r"
| "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" ;
upperCase = "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I"
| "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R"
| "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z" ;
digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ;
Some tests
Hmm, I thought some punctuation was allowed in a
TWikiWord, but I seem to be wrong. (Note the @ sign doesn't quite create a
TWikiWord, but is recognized as an email address.):
WikiWord
W4Word
WikiW4ord
WikiworD
Wi_kiWord
WikiWo-rd
WikiWo~rd
WikiWo!rd
WikiWo@rd
WikiWo$rd
WikiWo%rd
WikiWo^rd
WikiWo&rd
WikiWo*rd
WikiWo_rd
WikiWo+rd
WikiWo=rd
WikiWo?rd
WikiWo/rd
WikiWo\rd
Contributors
- () RandyKramer - 2009-05-20
- If you edit this page: add your name here; move this to the next line; and if you've used a comment marker (your initials in parenthesis), include it before your WikiName.
Revision Comment
%SECTION{last_revision}%
Page Ratings