regex
Nicholas Thieberger
thien at unimelb.edu.au
Mon Sep 13 17:04:57 EDT 2004
Thanks for those who helped with my regex problem and apologies for
reposting this msg but it appears to have gotten mixed into another
one in the digest.
Can anyone enlighten me about using a field name in a matchtext
expressiuon? 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? I've tried the following and it doesn't
work:
put fld "findwhat" into findtemp
matchtext (bg fld "text", findtemp)
Thanks for your help
Nick
--
Project Manager
Department of Linguistics and Applied Linguistics
University of Melbourne, Vic 3010
nicholas.thieberger at paradisec.org.au
Ph 61 (0)3 8344 5185
PARADISEC
Pacific And Regional Archive for Digital Sources in Endangered Cultures
http://paradisec.org.au
More information about the use-livecode
mailing list