>For the purposes of testing, my .ircrc was:
>
>assign re $regcomp(test)
>eval echo $regexec(re test)

Crashing here is actually the defined (but apparantly undocumented) behavior:
because the string 're' is not a value previously returned by $regcomp, 
passing it to $regexec() results in undefined behavior on every system.  
In your case, it crashes.  What you meant to do was:

         eval echo $regexec($re test)
                            ^------------ Note $ here.

There is no way for epic to check whether the first argument to $regexec()
is reasonable or not -- it has to trust the user to do the right thing.

Jeremy
_______________________________________________
List mailing list
[EMAIL PROTECTED]
http://epicsol.org/mailman/listinfo/list

Reply via email to