ruby can index strings by regexp! blodgett LIIIIKES IT :D
irb(main):001:0> 'number 123 yah yah yah yah yah'[/\d+/] => "123"
This entry was posted on Monday, March 1st, 2010 at 3:20 pm and is filed under blodgett, cod. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.
I saw this in the Matlab-Cow script and was going to ask what it did but now I know.
hmm, maybe blodgett should post that also for the informations of other people suffering from curse of matlab
I saw this in the Matlab-Cow script and was going to ask what it did but now I know.
hmm, maybe blodgett should post that also for the informations of other people suffering from curse of matlab