We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a5b369 commit b339077Copy full SHA for b339077
docs/queries/about.mdx
@@ -295,6 +295,8 @@ can contain options that affect the precision of string matching:
295
- `exact`: Defaults to `true`; matches full strings, case-sensitive. When false,
296
matches substrings and is not case-sensitive.
297
- `exact` has no effect on `regex` or `function` arguments.
298
+ - `exact` has no effect on accessible names specified with the `name` option of `*byRole`
299
+ queries. You can use a regex for fuzzy matching on accessible names.
300
- In most cases using a regex instead of a string gives you more control over
301
fuzzy matching and should be preferred over `{ exact: false }`.
302
- `normalizer`: An optional function which overrides normalization behavior. See
0 commit comments