▼ |  | Unstable: May Change Without Warning

1 | Guidelines for Developing unstable Libraries
2 | Automata: Compiling State Machines
3 | Bytes
4 | Contracts
5 | Contracts for Macro Subexpressions
6 | Debugging
7 | Definitions
8 | Errors
9 | Futures
10 | Functions
11 | Hash Tables
12 | Interface-Oriented Programming for Classes
13 | Lazy Require
14 | Lists
15 | Logging
16 | Macro Testing
17 | Mark Parameters
18 | Match
19 | Open place expressions
20 | Option Contracts
21 | Parameter Groups
22 | Pretty-Printing
23 | Re-Contracting Identifiers
24 | Sandbox
25 | Sequences
26 | Strings
27 | Structs
28 | Struct Printing
29 | Syntax
30 | Temporal Contracts: Explicit Contract Monitors
31 | Unix Domain Sockets
32 | 2D Syntax

On this page:

regexp-filter

top ← prev up next →

### 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.
top ← prev up next →