Re: [PATCH] kernel source spellchecker

From: John Bradford (john@grabjohn.com)
Date: Sun Mar 02 2003 - 04:15:42 EST


> > >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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 07 2003 - 22:00:17 EST