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!

Viewing 4 Comments

Trackbacks

close Reblog this comment
blog comments powered by Disqus