></DL>
<P>
Only one of
<B>TCL_REG_EXTENDED</B>,
<B>TCL_REG_ADVANCED</B>,
<B>TCL_REG_BASIC</B>, and
<B>TCL_REG_QUOTE</B> may be specified.
<P>
<B>Tcl_RegExpExecObj</B> executes the regular expression pattern
matcher.  It returns 1 if <I>objPtr</I> contains a range of characters
that match <I>regexp</I>, 0 if no match is found, and -1 if an error
occurs.  In the case of an error, <B>Tcl_RegExpExecObj</B> leaves an
error message in the interpreter result.  The <I>nmatches</I> value
indicates to the matcher how