First of all, matchText requires two arguments, a string to be searched
and a regular expression to be used for the search. You may have just
given us an abbreviated part of the call, but I thought I should point
that out.
Not tested, but I suspect:
put fld "findwhat" into whatToFind
matchtext (stringToSearch, whatToFind)
would work fine.
Of course, matchtext (stringToSearch, fld "findwhat") might also work.
Dan
On Sep 11, 2004, at 6:08 AM, Nicholas Thieberger wrote:
How can I get a regex to take the search expression from a field?
This doesn't work
matchtext (fld "findwhat")
thanks
nick
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution