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:
dundargoc
2023-09-14 06:05:27 +02:00
committed by GitHub
parent f5953edbac
commit a6e74c1f0a
15 changed files with 22 additions and 23 deletions

View File

@@ -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