MatchWithin

Mark Wieder mwieder at ahsoftware.net
Mon Nov 27 12:37:48 EST 2006


John-

Sunday, November 26, 2006, 12:51:24 PM, you wrote:

> There are some extra parenthesis - a more concise version is;

> FUNCTION MatchWithin pRawText, pStartText, pEndText
>     if matchText(pRawText, "(?Uis)" & pStartText & "(.+)" & pEndText,
> tReturn) then return tReturn
> END MatchWithin

Thanks. I swear I tried it without the extra parentheses and it didn't
work - must have been some intermediate version with other problems.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list