4 ms·
No problem, in ruby style is always pretty subjective since there's a thousand ways to do just about everything. And, just FYI you do need to escape the backre
by davesims 14y ago
No problem, in ruby style is always pretty subjective since there's a thousand ways to do just about everything.
And, just FYI you do need to escape the backrefs or use single quotes, like:
"\\1<span class=\"nurble\">nurble</span>\\2"
- davesims 14y agoI take it back - I had issues with escaping on irb but not in the app itself. Something new to learn...