Re: [MacPerl-AnyPerl] macperl deletes lines ....

2001-06-19 Thread Christian Brechbuehler
Excerpt of message (sent 19 June 2001) by Shelly Spearing: > I tend to backslash just about all punctuation marks, especially those that > have special meaning(s) in perl. Thus I would have written: > $newsFile =~ s/\<\/?B\>//ig; > > > In general, is this a good habit on my part, or is it fr

Re: [MacPerl-AnyPerl] macperl deletes lines ....

2001-06-19 Thread Shelly Spearing
On 6/19/2001 9:33 AM, "Brandon Barker" <[EMAIL PROTECTED]> wrote: > I'm having trouble writing a script that will remove the regular > expression "" in a text file in macperl. ... > $newsFile =~ s///g; *If* you're parsing HTML, it might be safer to use: $newsFile =~ s///ig; So that

Re: [MacPerl-AnyPerl] macperl deletes lines ....

2001-06-19 Thread Ronald J Kimball
On Tue, Jun 19, 2001 at 11:33:27AM -0400, Brandon Barker wrote: > I'm having trouble writing a script that will remove the regular > expression "" in a text file in macperl. At first I thought I was > making a programming mistake but I tried the same script in Linux and it > worked as expected