http://youtu.be/U4dXfwbWbnU
[boilerplate bypath=”rubytapas-sample”]
RubyTapas Freebie: Scanning a String
4 comments
Comments are closed.
Avdi Grimm, Code Cleric
http://youtu.be/U4dXfwbWbnU
[boilerplate bypath=”rubytapas-sample”]Comments are closed.
I forgot about post_match to shorten the text searched..thank!
Ain’t that dandy? I think I may make an episode dedicated to that since it kind of flew by in this one.
Avdi, if you do an episode on that, could you include code smells or best practices for match? I often wind having something like this
obj.match.try(:[],1) to protect me from nil bombs.
Thanks again,
Brad
I’m putting it on the list!