On this page:
regexp-filter

28 Strings

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

 (require unstable/string)

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.