Great Circle Associates Majordomo-Users
(May 1994)
 

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

Subject: Re: Fwd: hostile address
From: Mark Davies <mark @ Comp . VUW . AC . NZ>
Date: Thu, 28 Apr 1994 16:32:59 +1200
To: Brent Chapman <brent @ GreatCircle . COM>
Cc: pdc @ lunch . asd . sgi . com (Paul Close), eichin @ cygnus . com (Mark Eichin), spp @ cis . ufl . edu, 0001020203 @ mcimail . com, majordomo-users @ GreatCircle . COM
In-reply-to: Your message of "Wed, 27 Apr 1994 21:05:38 MST." <199404280405.VAA05155@mycroft.GreatCircle.COM>

	From:  Brent Chapman <brent@GreatCircle.COM>
	Date:  Wed, 27 Apr 1994 21:05:38 -0700

> # Still hard to read.  Why not simply
> # 
> #     # if there's a "|" or a "/" in it, it's hostile
> #     if (m^|/^) {

> Because that matches, literally, "|/", not "|" or "/", which is the
> intent of the thing.


OK then:

	if (m^[|/]^) {

cheers
mark



Indexed By Date Previous: I'm about to resend a whole bunch of Majordomo-Users messages
From: Brent Chapman <brent@mycroft.GreatCircle.COM>
Next: Multi-line commands?
From: bill@biome.bio.ns.ca (Bill Silvert)
Indexed By Thread Previous: I'm about to resend a whole bunch of Majordomo-Users messages
From: Brent Chapman <brent@mycroft.GreatCircle.COM>
Next: Multi-line commands?
From: bill@biome.bio.ns.ca (Bill Silvert)

Google
 
Search Internet Search www.greatcircle.com