<HEAD><TITLE>discuss@charon: [1557] in "Coldmud discussion meeting"</TITLE>
<H1>[1557] in Coldmud discussion meeting</H1></HEAD>
<A HREF="/"><IMG SRC="/i-d.gif" ALT="root"></A>
<A HREF="?1557"><IMG SRC="/i-back.gif" ALT="meeting"></A>
<A HREF="/help.html"><IMG SRC="/i-help.gif" ALT="help"></A>
<A HREF="1"><IMG SRC="/i-first.gif" ALT="first"></A>
<A HREF="1556"><IMG SRC="/i-fref.gif" ALT="first in chain"></A>
<A HREF="1556"><IMG SRC="/i-pref.gif" ALT="previous in chain"></A>
<A HREF="1556"><IMG SRC="/i-prev.gif" ALT="previous"></A>
<A HREF="1558"><IMG SRC="/i-next.gif" ALT="next"></A>
<A HREF="1558"><IMG SRC="/i-nref.gif" ALT="next in chain"></A>
<A HREF="1561"><IMG SRC="/i-lref.gif" ALT="last in chain"></A>
<A HREF="1641"><IMG SRC="/i-last.gif" ALT="last"></A>
<HR><H2>Re: Matching strings</H2>
<H3>daemon@ATHENA.MIT.EDU (Thu Mar  2 13:24:02 2000
)</H3>
<PRE>
Date: Fri, 03 Mar 2000 16:10:05 -0800
From: Bruce &lt;bruce@puremagic.com&gt;
To: coldstuff@cold.org
Reply-To: coldstuff@cold.org

&gt; Adam Cormany wrote:
&gt; 
&gt; I've noticed match_begin to match incomplete arguments to a string,
&gt; but only at the beginning of the string. Example:
&gt; match_begin("insanity", "ins") would return true.
&gt; 
&gt; Is there any matching that matches incomplete arguments to a string,
&gt; but at the end? Something like match_end("insanity", "ity")? Thanks

It won't be that fast, but you could just use:

match_begin(arg1.reverse(), arg2.reverse())

 - Bruce
</PRE>
