lua-users home
lua-l archive

Re: Most succinct way to parse an HTTP header string

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


> I want to parse a HTTP header string "name:value" pair. In REXX this is 
This should work just fine:
local name,value=string.match(line,"(.-):%s*(.-)$")

AltStyle によって変換されたページ (->オリジナル) /