[1558] in Coldmud discussion meeting

root meeting help first first in chain previous in chain previous next next in chain last in chain last

Re: Matching strings

daemon@ATHENA.MIT.EDU (Thu Mar 2 14:08:39 2000 )

Date: Thu, 02 Mar 2000 11:15:06 -0800
To: coldstuff@cold.org
From: Jeff Kesselman <Jeffrey.Kesselman@eng.sun.com>
In-Reply-To: <A0200A8D901CD311A51F0001C86523B135072F@MMSINET1>
Reply-To: coldstuff@cold.org

use substring  and the string length of the string being matched... one 
subtraction is all it takes.

At 01:05 PM 3/2/00 -0500, you wrote:

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