lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


El sáb, 26-06-2004 a las 08:15, Joseph Stewart escribió:

> Must start with a upper-case letter.
> Must be followed by one or more lower-case letter.
> Above conditions must repeat at least one time (but could be many).
> 
> Here are some examples that follow this pattern:
> 
> ThisMatches
> ThisMatchesToo

Mmmh! It sounds like you're trying to match WikiWikiWords ;)
I've used the following pattern in a small wiki engine called MoonSoon:
([%u][%l]+[%u][%l]+[%a]*)

Hope it helps.
--
Adrian Perez