From: Daniel Carrera Date: 2003-07-24T08:39:59+09:00 Subject: Re: "regex literal in condition" Funny thing is... - When I begun writing the email the error was "parse error". - While writing the email I noticed the "." and removed it. - Then I got the error "regex literal in condition", so I continued writing the email since I didn't know what this error meant. But I forgot to update the code, so I left the dot. On Thu, Jul 24, 2003 at 07:27:24AM +0900, Warren Brown wrote: > 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 > > -- Daniel Carrera | OpenPGP fingerprint: Mathematics Dept. | 6643 8C8B 3522 66CB D16C D779 2FDD 7DAC 9AF7 7A88 UMD, College Park | http://www.math.umd.edu/~dcarrera/pgp.html