diff options
author | Ikko Eltociear Ashimine <eltociear@gmail.com> | 2023-02-07 17:15:44 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-07 16:15:44 +0800 |
commit | 9f651f05d56407f63b9334917fecad975bdd49b4 (patch) | |
tree | b1137c2172e749dcc14bfe001db0922bfec7fa25 /doc | |
parent | 8e53fba083a7450b8c2e9771cba8d477468a520e (diff) | |
download | Nim-9f651f05d56407f63b9334917fecad975bdd49b4.tar.gz |
nimgrep: fix typo (#21337)
occurences -> occurrences
Diffstat (limited to 'doc')
-rw-r--r-- | doc/nimgrep.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/nimgrep.md b/doc/nimgrep.md index 8fb86a9d3..63f760051 100644 --- a/doc/nimgrep.md +++ b/doc/nimgrep.md @@ -77,7 +77,7 @@ That means you can always use only 1 such an option with logical OR, e.g. .. Note:: If you want logical AND on patterns you should compose 1 appropriate pattern, possibly combined with multi-line mode `(?s)`:literal:. - E.g. to require that multi-line context of matches has occurences of + E.g. to require that multi-line context of matches has occurrences of **both** PAT1 and PAT2 use positive lookaheads (`(?=PAT)`:literal:): ```cmd nimgrep --inContext:'(?s)(?=.*PAT1)(?=.*PAT2)' |