Secrets of the filter command?

Joe Lewis Wilkins pepetoo at cox.net
Tue Jun 26 19:32:03 EDT 2007


Mark is the filter command anything at all like the "snake" command  
we used to have available in HC? I've been wondering about how to  
search for things in Rev the way I used to do in HC and this kind of  
looked like it might be applicable.

Joe Wilkins

On Jun 26, 2007, at 4:17 PM, Mark Wieder wrote:

> 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
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list