/usr/share/racket/pkgs/unstable-lib/string.rkt is in racket-common 6.1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #lang racket/base
(require racket/contract/base)
;; added by stamourv
(define (regexp-filter r log)
(for/list ([l (in-list log)] #:when (regexp-match r l))
l))
(provide/contract
[regexp-filter ((or/c string? bytes? regexp? byte-regexp?)
(listof (or/c string? bytes? path? input-port?))
. -> . (listof (or/c string? bytes? path? input-port?)))])
|