Ilya Zakharevich wrote: > > > > ' ( \\. | [^\\'] )+ ' \F{!<} > > > | > > > " ( \\. | [^\\"] )* " \F{!<} > > > | > > > /\* .*? */ [snip] > It is supposed to be used as /$comment/. Consider > > const char * comment_start = "/*"; /* Assume C by defaut */ > > The above REx will correctly find the comment in this line. > > Hope this is clearer, It is, thanks. I'm not sure why it wasn't clear before, since you said right out that \F{!<} means, "FINISH, mark positions before this one as "failing", and restart the whole match". ^^^^^^^ -- Rick Delaney rick.delaney@home.com