Ruby, regex and match
I’ve just spent two hours trying to figure out how to get the next match from a string using regex in Ruby. I then found out about the scan method. Doh!
This entry was posted
on Tuesday, January 30th, 2007 at 12:38 pm and is filed under AAA, Ruby, String, match, next match, regex, regexp, scan.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
Add New Comment
Viewing 4 Comments
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Add New Comment
Trackbacks
(Trackback URL)