matchText handler not found

Alex Tweedly alex at
Tue Oct 11 18:37:41 EDT 2005

Harvey Toyama wrote:

>After yesterday's good advice on regex, I wanted to try "matchText". My
>installation (2.5.1) doesn't find the  handler. Is there something
>special about the matchText function. In fact, I don't recall any of the
>documented functions being found.
matchText is not a handler, it's a function.
If you use it in a context where a handler would be used, you'll get the 
rather confusing message
"handler not found".

It should be used like:

  put matchText(someData, someExpr) into myVar

not simply as

   matchText(someData, someExpr)

Alex Tweedly

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.14/128 - Release Date: 10/10/2005

More information about the Use-livecode mailing list