From: Bill Kelly Date: 2001-07-05T08:48:29+09:00 Subject: [ruby-talk:17258] Re: /* */ comments From: "Guy N. Hurst" > This made me realize that we may not be able to (easily) have > nested comments without resorting to a second pass. There are > a number of scenarios I can think of that would complicate things. > > # this is a comment > a = 5 > /* > and this is > a grouping of > /* more comments > */ > b = "will this be evaluated?" > > /* > =begin > what about this? > Am I RD or a comment? > */ > =end # error or not? Hmm, suppose this might happen much ? /* begins comment regex = /pattern*/ still in comment? */ :) Bill