lua-users home
lua-l archive

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


On 11/10/2012 13:29, Luiz Henrique de Figueiredo wrote:
If some part of the line in question matches the same pattern ":(%d+):",
it will be captured instead.

I know. Sorry about that. You may want to add a space before the message
	string.match(message,":(%d+): ")

Anyway, I'm curious: do you have file names with say ":2012: " in them?

As I'm on Windows, the answer is "no". But in case of loadstring, there may be (user supplied) strings that could just begin with ":2012: ".

--
Shmuel