Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 54c9f49

Browse files
authored
Merge pull request #27 from carlosrocha/patch-1
Add loose option in example
2 parents 3a1133a + c7b77d6 commit 54c9f49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The `options` currently supports only `loose` option that allows partial matchin
6565

6666

6767
```
68-
parser.pick(['fr', 'en'], 'en-GB,en-US;q=0.9,fr-CA;q=0.7,en;q=0.8');
68+
parser.pick(['fr', 'en'], 'en-GB,en-US;q=0.9,fr-CA;q=0.7,en;q=0.8', { loose: true });
6969
```
7070

7171
Would return:

0 commit comments

Comments
 (0)