Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/queries/about.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,8 @@ can contain options that affect the precision of string matching:
- `exact`: Defaults to `true`; matches full strings, case-sensitive. When false,
matches substrings and is not case-sensitive.
- `exact` has no effect on `regex` or `function` arguments.
- `exact` has no effect on accessible names specified via `name` option of `*byRole`
queries. You can use regex for fuzzy matching on accessible names.
- In most cases using a regex instead of a string gives you more control over
fuzzy matching and should be preferred over `{ exact: false }`.
- `normalizer`: An optional function which overrides normalization behavior. See
Expand Down