</DL>
<H3><A NAME="M5">DESCRIPTION</A></H3>
<B>Tcl_RegExpMatch</B> determines whether its <I>pattern</I> argument
matches <I>regexp</I>, where <I>regexp</I> is interpreted
as a regular expression using the rules in the <B><A HREF="../TclCmd/re_syntax.html">re_syntax</A></B>
reference page.
If there is a match then <B>Tcl_RegExpMatch</B> returns 1.
If there is no match then <B>Tcl_RegExpMatch</B> returns 0.
If an error occurs in the matching process (e.g. <I>pattern</I>
is not a valid regular expression) the