Secrets of the filter command?
Mark Wieder
mwieder at ahsoftware.net
Tue Jun 26 19:17:19 EDT 2007
David-
The filter command uses a subset of regex. I've got BZ #2805 filed to expand
the regex syntax used.
Jerry's regex string "[-ofsgOFSG][-nueNUE][> ntNT]*" is a great little
filter for scanning through scripts looking for handlers: it will catch
occurrences of lines starting with things like
"-->", "on ", "fun", "GET" etc.
The regex expands to
[first char][second char][third char]followed by any number of chars
--
Mark Wieder
mwieder at ahsoftware.net
More information about the use-livecode
mailing list