aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/regex.lua
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-09-14 06:05:27 +0200
committerGitHub <noreply@github.com>2023-09-14 12:05:27 +0800
commita6e74c1f0a2bbf03f5b99c167b549018f4c8fb0d (patch)
treec1d7f91607bf0588b689a817d291add77a8ea957 /runtime/lua/vim/_meta/regex.lua
parentf5953edbac14febce9d4f8a3c35bdec1eae26fbe (diff)
downloadrneovim-a6e74c1f0a2bbf03f5b99c167b549018f4c8fb0d.tar.gz
rneovim-a6e74c1f0a2bbf03f5b99c167b549018f4c8fb0d.tar.bz2
rneovim-a6e74c1f0a2bbf03f5b99c167b549018f4c8fb0d.zip
docs: fix typos and other small fixes (#25005)
Co-authored-by: nuid64 <lvkuzvesov@proton.me> Co-authored-by: Mike Smith <10135646+mikesmithgh@users.noreply.github.com> Co-authored-by: XTY <xty@xty.io> Co-authored-by: Empa <emanuel@empa.xyz> Co-authored-by: kyu08 <49891479+kyu08@users.noreply.github.com>
Diffstat (limited to 'runtime/lua/vim/_meta/regex.lua')
-rw-r--r--runtime/lua/vim/_meta/regex.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/_meta/regex.lua b/runtime/lua/vim/_meta/regex.lua
index ab4f46d43f..58aa2be8c2 100644
--- a/runtime/lua/vim/_meta/regex.lua
+++ b/runtime/lua/vim/_meta/regex.lua
@@ -21,7 +21,7 @@ local regex = {} -- luacheck: no unused
--- precisely, surround the regex with `^` and `$`. If there was a match, the
--- byte indices for the beginning and end of the match are returned. When
--- there is no match, `nil` is returned. Because any integer is "truthy",
---- `regex:match()` can be directly used as a condition in an if-statement.
+--- `regex:match_str()` can be directly used as a condition in an if-statement.
--- @param str string
function regex:match_str(str) end