mirror of
https://github.com/janet-lang/janet
synced 2025-01-25 22:56:52 +00:00
Fix documentation of peg/replace
This commit is contained in:
parent
03ae2ec153
commit
c29ab22e6d
@ -1865,7 +1865,7 @@ JANET_CORE_FN(cfun_peg_replace_all,
|
|||||||
}
|
}
|
||||||
|
|
||||||
JANET_CORE_FN(cfun_peg_replace,
|
JANET_CORE_FN(cfun_peg_replace,
|
||||||
"(peg/replace peg repl text &opt start & args)",
|
"(peg/replace peg subst text &opt start & args)",
|
||||||
"Replace first match of `peg` in `text` with `subst`, returning a new buffer. "
|
"Replace first match of `peg` in `text` with `subst`, returning a new buffer. "
|
||||||
"The peg does not need to make captures to do replacement. "
|
"The peg does not need to make captures to do replacement. "
|
||||||
"If `subst` is a function, it will be called with the "
|
"If `subst` is a function, it will be called with the "
|
||||||
|
Loading…
Reference in New Issue
Block a user