On this page:
regexp-filter

26 Strings

This library is unstable; compatibility will not be maintained. See Unstable: May Change Without Warning for more information.

 (require unstable/string) package: unstable-lib

The subsequent bindings were added by Vincent St-Amour.

procedure

(regexp-filter pattern lst)

  (listof (or/c string? bytes? path? input-port?))
  pattern : (or/c string? bytes? regexp? byte-regexp?)
  lst : (listof (or/c string? bytes? path? input-port?))
Keeps only the elements of lst that match pattern.