On Sat, 7 Jun 1997 14:18:56 -0700,
rem(_at_)one-o(_dot_)com (Robert E. Maas) wrote:
One of the recipes in rc.shun1 looks like this:
:0:
* ^Received:.*199\.0\.233\.3[\]\)]
^^^^^
This looks to me like backslash [\] followed by close paren \)
followed by close bracket.
* ^Received:.*199\.0\.233\.3[]]\)
might have been what you intended to say; personally, I find []] to be
more confusing than \] (but I've probably spent too much of my life
staring at Perl regular expressions).
If what you wanted to say was [])] then that would match +either+ a
close paren or a close bracket, but always only one character (which
is fine, too, I guess, actually, if you just watch out for
hypercorrect backslashing).
Hope this helps,
/* era */
--
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r. <http://www.iki.fi/~era/>
* Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>