mirror of
https://github.com/janet-lang/janet
synced 2025-04-06 15:26:55 +00:00

When peg/replace or peg/replace-all are given a function to serve as the text replacement, any captures produced by the PEG are passed as additional arguments to that function.