mirror of
https://github.com/neovim/neovim.git
synced 2026-04-23 07:45:32 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user