diff options
author | apense <apense@users.noreply.github.com> | 2015-07-08 15:01:50 -0400 |
---|---|---|
committer | apense <apense@users.noreply.github.com> | 2015-07-08 15:01:50 -0400 |
commit | 7a010cf650202a12cc3d06439a3212decee00397 (patch) | |
tree | 860e6aec41f7a0b738655e0f7884dfdab89b8eeb /doc/pegdocs.txt | |
parent | 0a624bec1ef734cec0cf3376c9073ea40c0b0381 (diff) | |
download | Nim-7a010cf650202a12cc3d06439a3212decee00397.tar.gz |
`replace` -> `replacef`
Diffstat (limited to 'doc/pegdocs.txt')
-rw-r--r-- | doc/pegdocs.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/pegdocs.txt b/doc/pegdocs.txt index 118949cad..fb8569ea6 100644 --- a/doc/pegdocs.txt +++ b/doc/pegdocs.txt @@ -188,7 +188,7 @@ Check if `s` matches Nim's "while" keyword: Exchange (key, val)-pairs: .. code-block:: nim - "key: val; key2: val2".replace(peg"{\ident} \s* ':' \s* {\ident}", "$2: $1") + "key: val; key2: val2".replacef(peg"{\ident} \s* ':' \s* {\ident}", "$2: $1") Determine the ``#include``'ed files of a C file: |