From: Logan Capaldo Date: 2006-09-15T21:45:37+09:00 Subject: Re: Regular expression question. On Fri, Sep 15, 2006 at 11:51:16AM +0900, Francis Cianfrocca wrote: > I know these are syntax errors in C. I was talking about a hypothetical > language (not C) that defined such constructs as legal. I'm still not sure > that it's impossible to use a regular language to generate this case: > /* "*/ */ > I'm pretty convinced that the other case requires a context-free language. Well for empirical evidence one could look at ML. (* comments (* are *) nestable *).