On this page:
regexp-filter

26 Strings

NOTE: This library is deprecated; use racket/string, instead.

 (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.