How to tell if something is put into the message box

Alex Tweedly alex at
Thu Dec 29 19:10:38 EST 2016

OK, I am NOT a regex expert, but ...

wouldn't that give you other lines like
    put tVar into myVar

should it not be simply
^put \w$
so that you don't get all the other put statements ... that "+" allows 
any number (>=1) of words.

And even then, you will miss
    if x = y then put tVar
   put tVar    -- for debug purposes
   put tVar + tVar1
and lots of other less constructs :-)

-- Alex.

On 29/12/2016 21:18, Kay C Lan wrote:
> If all you were looking for was incidences of:
> put tVar
> you could always just open the 'Find and Replace' from the Edit menu,
> select This stack, tick the 'Reg. Expression' box and search for:
> ^put \w+$
> I know you'll know what this means but for those not so familiar with regex:
> ^ = start of line
>    followed by a space character
> \w = any word character
> + = 1 or more times
> $ = end of line
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list