On Fri, 28 Jan 2000, Justin Georgeson wrote:

> I seem to be having trouble nailing down a regexp. If I have a file that
> looks like this:
> 
> // class alpha
> 
> /* class beta
> * class gamma
> class delta
> */ class epsilon
> 
> /* some comment */ class zeta
> 
> I want it to ignore class alpha, class beta, class gamma, and class
> delta. I can live with it accepting class delta even though it
> shouldn't, but the other three I'd rather deal with.

   if you install liwc c source tools you can just do

      ccmtcnvt file.cc | rmccmt

and just put that right in your perl program instead or set up a pipe with
your input.

   Adam

---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to