|
On 07/07/2014 10.33, steve donovan wrote:
local lens = input:match('^Content%-Length%s*:%s+(%d+)%s+$')
I think it should not be anchored: he said "input string might have some data before or after of given example values".
To Austin: try removing the leading '^' and the trailing '$' from the pattern string.
-- Enrico