Feng Shu <[email protected]> writes: > Daimrod <[email protected]> writes: > >> >> This is not very idiomatic elisp, I would write something more like: >> #+BEGIN_SRC emacs-lisp >> (remove-if (lambda (el) >> (member el expire-list)) >> list) >> #+END_SRC > > Thanks! > > Is this possible? > > test1@g = [email protected]
Yes, you could do it like this:
#+BEGIN_SRC emacs-lisp
(remove-if (lambda (el)
(find-if (lambda (x)
(string-match-p x el))
expire-list))
list)
#+END_SRC
This way you can use regular expressions in the ignore list.
--
Daimrod/Greg
signature.asc
Description: PGP signature
