i reopen my computer ,run the script,get the correct answer
i still have something want to know

data.scan(HTMLRegexp){|match|
 comment,tag,tdata=match[0..2]

what is the meaning of
 data.scan(HTMLRegexp){|match|
 comment,tag,tdata=match[0..2]
i want to see material about string#scan method
it's difficult for me to understand :
data.scan(HTMLRegexp){|match|
 comment,tag,tdata=match[0..2]
in the script.
can you explain it for me?


-- 
Posted via http://www.ruby-forum.com/.