|
Joseph Stewart wrote:
Lua string library only supports repetitions of a character class. To specify arbitrary repeated patterns in Lua you might want using an external regex library.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).
Lua bindings for two such libraries are available at Reuben Thomas' site: http://rrt.sc3d.org/Lua
/Shmuel