From: Josh Cheek Date: 2010-03-24T12:01:50+09:00 Subject: Re: what's the matter with my programm:Web Analysis --001636832536d0259b04828325c7 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Mar 23, 2010 at 8:57 PM, Pen Ttt wrote: > 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/. > > Scan docs are here (this is 1.8.6) http://ruby-doc.org/core/classes/String.html#M000812 --001636832536d0259b04828325c7--