Resources.FitNesseRoot.FitNesse.UserGuide.WikiWord.content.txt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitnesse Show documentation
Show all versions of fitnesse Show documentation
The fully integrated standalone wiki, and acceptance testing framework.
The syntax of a wiki word is ''Camel Case'': an alternating pattern of upper and lower case letters. Strictly speaking a wiki word is a string of two more more capital letters with lower case letters or numbers between them.
* '''!-BobMartin-!''' is a wiki word.
* '''!-SalesReport1972-!''' is a wiki word.
* '''!-USAforEver-!''' is not, because there are two capitals in a row.
* '''!-Usa1776-!''' is not because there is only one capital.
* '''!-RcM-!''' is a wiki word because it is two or more capitals separated by lower case letters.
* '''!-ItDoesNotMatterHowManyCapitalsThereAreYouCanHave1000IfYouLike-!''' is a wiki word with lots of capitals.
----
!note The Java Regular expression that we are using to represent a wiki word is: {{{\b[A-Z](?:[a-z0-9]+[A-Z][a-z0-9]*)+}}}