Name: :regerror - return message of what went wrong with "regcomp_"

Synopsis:

regex integer -&gt; string


Examples:

preparation: 
(\() regcomp_     -&gt; &lt;regextype&gt; 8 False 
pop 
now there's a wrong regex and an errorcode on the stack 
:regerror = -&gt; Unmatched ( or \(


Description:

:regerror will decode the integer error code and return the related 
error description.


Parameters:

in:  regex: a regular expression generated by "regcomp_" 
integer code of what went wrong. 
out:  string of error description.


Bugs:

no known ;-)


Diagnostics:

no errors raised - this _is_ a command to check an error!


Remarks:

See man regerror for further details on POSIX regerror. 
Note that the command "regcomp" performs automatic error checking. You should 
probably use "regcomp", not "regcomp_".


Author:

Diesmann &amp; Hehl


FirstVersion:

27.9.99


SeeAlso:

regexec
regcomp

Source:

/var/www/debian/nest/nest-simulator-2.20.0/lib/sli/regexp.sli
