diff options
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: |