docs: vim.regex is case sensitive by default (#18595)

This commit is contained in:
Gregory Anders 2022-05-16 13:30:00 -06:00 committed by GitHub
parent b9b5577d6d
commit 07ade91f21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -690,8 +690,9 @@ matching within a single line.
vim.regex({re}) *vim.regex()* vim.regex({re}) *vim.regex()*
Parse the Vim regex {re} and return a regex object. Regexes are Parse the Vim regex {re} and return a regex object. Regexes are
"magic" and case-insensitive by default, regardless of 'magic' and "magic" and case-sensitive by default, regardless of 'magic' and
'ignorecase'. They can be controlled with flags, see |/magic|. 'ignorecase'. They can be controlled with flags, see |/magic| and
|/ignorecase|.
Methods on the regex object: Methods on the regex object: