lua-users home
lua-l archive

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

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:


Here are example pattern that don't match:


Can this be done with a simple pattern, or will I need to put more
code in place?

Thanks in advance for your help!