From: Warren Brown Date: 2003-07-24T07:27:24+09:00 Subject: Re: "regex literal in condition" Daniel, > I'm getting an erorr that I don't understand. > > # My code > while gets. > break if (/\<\!-{19} ending left_colum -{11}\>/) > end You've probably already figured this out, but the problem is the dot (.) after the call to gets in the first line. I'm not too sure at first glance how ruby is parsing this, but any way you look at it, it's gonna' get it wrong. I hope this helps! - Warren Brown