[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: lua pattern match help
- From: Joseph Stewart <joseph.stewart@...>
- Date: Sat, 26 Jun 2004 02:15:17 -0400
Can anyone suggest a pattern to match text in the following format:
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
Here are example pattern that don't match:
doesntMatch
!dosentMatch
This1DosentMatch
Can this be done with a simple pattern, or will I need to put more
code in place?
Thanks in advance for your help!
-joe