[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: 5.1b gsub
- From: David Burgess <dburgess@...>
- Date: Mon, 7 Nov 2005 03:14:18 +1100
Well it breaks luasocket in url.lua.
5.1
> url = string.gsub("http://www.spinifex.net/index.html", "^([%w][%w%+%-%.]*)%:"
, function(n) authority = n or "" print("hello" ) end)
hello
> =url
http://www.spinifex.net/index.html
> =authority
http
5.02
> url = string.gsub("http://www.spinifex.net/index.html", "^([%w][%w%+%-%.]*)%:"
, function(n) authority = n or "" print("hello" ) end)
hello
> =url
http://www.spinifex.net/index.html
> =authority
http
Does someone want to volunteer to fix the a zillion gsubs in luasocket?
DB