Re: Another regular expression question?

2001-08-20 Thread Curtis Poe
--- 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

RE: Another regular expression question?

2001-08-20 Thread Bob Showalter
-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

Re: Another regular expression question?

2001-08-17 Thread Walnut
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

RE: Another regular expression question?

2001-04-25 Thread King, Jason
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

RE: Another regular expression question?

2001-04-24 Thread Amarnath Honnavalli Anantharamaiah
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