Ahh I should have known (I saw that on my wallpaper, which is your 1.6.0.2 cheatsheet). Regexp.escape is actually better than the mootools one (has more chars to escape)....
Why isnt String#sub/gsub using it? --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---