use-revolution Digest, Vol 12, Issue 45

Nicholas Thieberger thien at unimelb.edu.au
Sun Sep 12 06:06:51 EDT 2004


Thanks for those who helped with my regex problem.

However, i want to find an expression in a field of a stack, ("text") 
and take the expression itself from the fld "findwhat". The string 
being searched in this case is the contents of the field, but in this 
formulation it seems that 'bg fld "text" ' is the expression being 
searched, is that right? So how can I get the regex to search a bg 
fld in the whole stack?

   put fld  "findwhat" into findtemp
   matchtext (bg fld "text", findtemp)

Thanks for your help

Nick


More information about the use-livecode mailing list