How to get the difference between two lists?
Wouter
wouter.abraham at scarlet.be
Tue Apr 5 14:58:24 EDT 2005
On 05 Apr 2005, at 20:03, Dar Scott wrote:
snip
>
> // filter version
> function shortListDar5 pL, pEx
> filter pL without replaceText(pEx,"\n","|")
> return pL
> end shortListDar5
>
> Dar
>
>
This was the reason I was lamenting that rev's filter "command" is not
fully regex compatible.
Your replaceText part returns a "|" delimited list. But the "|" (or)
does not work in the filter command.
Not as in filter x without "5|6|11|18" nor as in filter x without
"[56]|1[18]".
The "|" seems even to be ignored between [ ] brackets.
Gr W.
More information about the use-livecode
mailing list