diff --git a/README.md b/README.md index a9c15f49..8cef0ef9 100644 --- a/README.md +++ b/README.md @@ -794,7 +794,7 @@ affect the precision of string matching: // Matching a string: getByText(container, 'Hello World') // full string match -getByText(container, 'llo Worl'), {exact: false} // substring match +getByText(container, 'llo Worl', {exact: false}) // substring match getByText(container, 'hello world', {exact: false}) // ignore case // Matching a regex: