filter
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | filter [2006/08/01 03:13] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: filter.txt, | ||
+ | ======Synopsis: | ||
+ | $__filter__(< | ||
+ | |||
+ | ======Technical: | ||
+ | * If the < | ||
+ | * This function returns a space separated word list of all of the words in <word list> that are NOT matched by < | ||
+ | * This is the complement to $[[pattern]](), | ||
+ | * Double quoted words are honored, but the double quotes will be lost in the return value. | ||
+ | |||
+ | ======Practical: | ||
+ | This function lets you " | ||
+ | all of the words that match the pattern and keeping all of the words that | ||
+ | do not match the pattern. | ||
+ | function, you can quickly find all words in a word list that do not start | ||
+ | with a particular substring. | ||
+ | |||
+ | ======Returns: | ||
+ | The list of words from <word list> after all words matched by < | ||
+ | have been removed. | ||
+ | |||
+ | ======History: | ||
+ | This function first appeared in " | ||
+ | |||
+ | ======Examples: | ||
+ | < | ||
+ | $filter(*oo* foobar blah booya) | ||
+ | $filter(*a* hello there bob) returns "hello there bob" | ||
+ | $filter(irc* $myservers()) | ||
+ | connected to that don't start | ||
+ | with the string " | ||
+ | </ | ||
filter.txt · Last modified: 2006/08/01 03:13 by 127.0.0.1