--- Walnut [EMAIL PROTECTED] wrote:
Suck the file into a single variable and:
$entirefile =~ s!\/\*.*?\*\/!!g;
I am also very new to Perl! I need to figure out how I could skip a
block of comments in a C header file. For example, if I have something
like the following:
/* This is my
-Original Message-
From: Curtis Poe [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 10:29 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Another regular expression question?
...
2. Oftimes, a programmer will comment out an entire chunk of
code. If that code
Suck the file into a single variable and:
$entirefile =~ s!\/\*.*?\*\/!!g;
On Fri, 20 Apr 2001 09:03:29 +0100, [EMAIL PROTECTED] (Yvonne
Murphy) wrote:
I am also very new to Perl! I need to figure out how I could skip a
block of comments in a C header file. For example, if I have something
be the duty of all policemen to kill
all cats running at large. - http://dumblaws.com/
-Original Message-
From: Amarnath Honnavalli Anantharamaiah
[mailto:[EMAIL PROTECTED]]
Sent: Tue 24 Apr 2001 21:06
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Another regular expression question
Thanks for the range operator idea.
-Original Message-
From: King, Jason [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 4:29 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject:RE: Another regular expression question?
Amarnath's code sample below can