[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua pattern match help
- From: Joseph Stewart <joseph.stewart@...>
- Date: Sat, 26 Jun 2004 19:01:43 -0400
Thanks for all the responses, and yes, I was "doodling" with a messy
little lua wiki engine (about 230 lines now, it'll get a little bigger
when I support adding new WikiWords via the usual method). I'll put it
on lua-users in a while (it's no great model of lua coding, however).
I have sqlite compiled in with my lua 5.0.2, but will probably just
use bare file i/o when I post it.
-joe
On Sun, 27 Jun 2004 00:04:01 +0200, Adrian Perez <elflord@spymac.com> wrote:
>
> 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
>
>