From: Wes Gamble Date: 2006-08-04T07:09:51+09:00 Subject: Re: Non-greediness in a regex - need some help verifying syn I realized I made an error when I did the original post. Now my problem is that it won't find any of these occurrences now. So @bigstring.scan(/~\^LNK:[\t\r\n]+?\^~/m) isn't returning anything. My guess is because there are no occurrences of a tab, newline, or line feed character _immediately_ after ~^LNK. If I do /~\^LNK:.*?[\t\r\n]+?.*?\^~/m - that should pick up what I want, correct? Wes -- Posted via http://www.ruby-forum.com/.