From: Joel Pearson Date: 2013-07-31T01:30:13+09:00 Subject: Re: Parsing Data from Row using Regexp That's why I used "^" and "$", so the pattern will repeat for as many lines as necessary when using String#scan You can make parts of the expression optional if you need to. That looks like a hideous way to store and reference data. I'd look into alternatives if possible. -- Posted via http://www.ruby-forum.com/.