i think what he meant was like the scan function for string but instead of
returning String objects, you get MatchData objects.

On Fri, Feb 11, 2011 at 6:26 PM, Jatin kumar <jatinkumar.n...@gmail.com>wrote:

>
>
> On Fri, Feb 11, 2011 at 8:02 AM, Ralph Shnelvar <li...@ruby-forum.com>wrote:
>
>> >> Check this out.
>> > http://www.ruby-doc.org/core/classes/String.html#M001186
>>
>> I must be blind.   I see no MatchData anywhere.
>>
>> I see *match* which is a string ... but no MatchData.
>>
>> What exactly do you mean when you say MatchData and not a string. Can you
> show a dummy example of what do you want to achieve.
>
>>  --
>> Posted via http://www.ruby-forum.com/.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby on Rails: Talk" group.
>> To post to this group, send email to rubyonrails-talk@googlegroups.com.
>> To unsubscribe from this group, send email to
>> rubyonrails-talk+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>



-- 
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.com

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to