Broken String.gsub?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Broken String.gsub?

Hugo <Nabble>
I have a web page with the following code:
...
<%=String.gsub("hello world", [[(\w+)]], "$1 $1")%>
...
Why it doesn't print "hello hello world world" in the page as explained in the reference manual?
http://luan.luanhost.com/manual.html#String.gsub

I get:
[Ljava.lang.Object;@2756a8e4
Reply | Threaded
Open this post in threaded view
|

Re: Broken String.gsub?

fschmidt
Administrator
fixed
Woe to those who call bad good and good bad -- Isaiah 5:20
Following the Old Testament, not evil modern culture
Reply | Threaded
Open this post in threaded view
|

Re: Broken String.gsub?

Hugo <Nabble>
thanks, closed.