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
and
put tVar -- for debug purposes
and
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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode