Re: [PATCH] kernel source spellchecker

John Bradford
2003-03-02T09:04:38Z

> > >This versions defaults to only correct words within a comment. ...
> > >// Comments are easy(tm). "Everything after // until line-end".
> > >
> > >and /* ... */ are easy(tm) too because gcc doesn't support to nest them.
> >
> > I'll be damned. I'm impressed with how easy that was in perl.
>
> As long as there is no nesting involved most things a easy/trivial to
> achieve with REs.

Does it cope with:

main ()
{
// /*
printf ("hello world");
// */
}

though?

John.