On Nov 8, 2007 2:16 PM, s.ross <[EMAIL PROTECTED]> wrote:
> Is there a straightforward
> way to match and process the nestings using a function as a second argument
> to gsub?

I'm not sure this will work for what you're doing, but using 1.6's
wrap feature sounds like it could be just the ticket.

Kangax wrote a great lil' article about it:

<http://thinkweb2.com/projects/prototype/2007/09/14/wrap-it-up/>

Hope that helps.

:Dan Dorman

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to