Great Circle Associates Majordomo-Users
(January 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: majordomo.pl problem and "regexp *+ operand could be empty"
From: "Tabor J. Wells" <twells @ shore . net>
Date: Thu, 23 Jan 1997 10:37:07 -0500 (EST)
To: "Sunjay T. Bedi" <stbedi @ peacock . uwaterloo . ca>
Cc: majordomo-users @ GreatCircle . COM
In-reply-to: <9701230828.ZM22661@peacock.uwaterloo.ca>

Sunjay, he's the patch I received a few days ago from Jason Tibbetts
regarding this problem:

Tabor

--- majordomo.pl.orig   Tue Dec 24 22:09:03 1996
+++ majordomo.pl        Tue Dec 24 22:22:27 1996
@@ -515,8 +515,8 @@
     # Deal with unbalanced brackets or parenthesis in an address.
     $temp = $_;
 
-    # Nuke anything within quotes.  Placate Emacs -------v 
-    1 while $temp =~ s/(^|([^\\\"]|\\.)+)\"([^\\\"]|\\.|$)*\"?/$1/g;
+    # Nuke anything within quotes.
+    1 while $temp =~ s/(^|([^\\\"]|\\.)+)\"(([^\\\"]|\\.)*|$)\"?/$1/g;
 
     # Remove nested parentheses " <- placate emacs' highlighting
     1 while $temp =~ s/\([^\(\)]*\)//g;


--
________________________________________________________________________
Tabor J. Wells                                          twells@shore.net
UNIX Systems Administrator   Just another victim of the ambient morality


Indexed By Date Previous: Re: majordomo.pl problem and "regexp *+ operand could be empty"
From: "Tabor J. Wells" <twells@shore.net>
Next: Re: majordomo works for users on host; not for others
From: Ron Emaus <remaus@great-lakes.net>
Indexed By Thread Previous: Re: majordomo.pl problem and "regexp *+ operand could be empty"
From: "Tabor J. Wells" <twells@shore.net>
Next: Re: majordomo.pl problem and "regexp *+ operand could be empty"
From: Bill <bill@wagill.com>

Google
 
Search Internet Search www.greatcircle.com