mirror of
https://github.com/janet-lang/janet
synced 2025-03-31 12:36:56 +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.