summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormushroom <50598611+ms-jpq@users.noreply.github.com>2020-05-26 01:33:40 -0700
committerGitHub <noreply@github.com>2020-05-26 01:33:40 -0700
commit5f4f63febb5d9484bf0dcb44ec033fabc2f575a2 (patch)
treeef12b6daa371a87db7c2505784ff8826747be8b5
parentde62917175d718e826790fd6fdb971714c79eb6f (diff)
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8f40881..8f44f06 100644
--- a/README.md
+++ b/README.md
@@ -105,11 +105,14 @@ Name | Function
## Regex Flags
+By default, `sad` uses smartcase, and multiline matching.
+
Name | Function
-----|---------
`i` | case insensitive (works for `--exact` mode as well)
`I` | case sensitive (works for `--exact` mode as well)
`m` | multiline: `^` `$` match each line
+`M` | singleline: `^` `$` match entire document
`s` | allow `.` match `\n`
`x` | ignore whitespace and allow `#` comments