✓
Passing This code compiles and runs correctly.
Code
// replace, \{name} backref: the named-group spelling of the same expansion.
import std/io
import std/regex
std/regex:replace(input: "one two", with: "[\{w}]")
| `(?<w>[a-z]+)` r |> std/io:print.ln("{{ r:s }}")
Actual
[one] [two]
Expected output
[one] [two]
Flows
flow ~replace click a branch to expand · @labels scroll to their anchor
replace (input: "one two", with: "[\{w}]")
Test Configuration
MUST_RUN