use-livecode Digest, Vol 222, Issue 8

J. Landman Gay jacque at hyperactivesw.com
Mon Mar 7 12:07:02 EST 2022


Funny you should bring this up, as I was playing with it last night. Turns 
out that multiple filters do slow down on the Pixel so I was looking for 
the One True Regex.

I'm not great at this so would like verification from those who know if 
this is what I need:

put "[" & tUnusedLetters & "]" into tRegex
filter tHugeDict without regex pattern tRegex

It seems to work but I'm not positive. Does that look right?

--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On March 7, 2022 3:01:19 AM Quentin Long via use-livecode 
<use-livecode at lists.runrev.com> wrote:

> My first attempt at the regex is…
> filter lines of WordList without "*[AbsentChars]*"
> However, that will remove all words that contain at least one letter in the 
> specific character string "absentchars", which is not what I want. So, 
> bring out the "do" keyword…
> do ("filter lines of WordList without" && quote & "*" & AbsentChars & "*" & 
> quote)






More information about the use-livecode mailing list