Re: lua pattern match help
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: lua pattern match help
- From: Adrian Perez <elflord@...>
- Date: 2004年6月27日 00:04:01 +0200
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