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 3f57768 commit 7270a5cCopy full SHA for 7270a5c
README.md
@@ -66,7 +66,7 @@ for (const match of matches) {
66
console.log('match', match);
67
}
68
69
-console.log(urlRegexSafe().test('github.com'));
+console.log(urlRegexSafe({ exact: true }).test('github.com'));
70
```
71
72
### Browser
@@ -88,7 +88,7 @@ This is the solution for you if you're just using `<script>` tags everywhere!
88
console.log('match', matches[i]);
89
90
91
- console.log(urlRegexSafe().test('github.com'));
+ console.log(urlRegexSafe({ exact: true }).test('github.com'));
92
})();
93
</script>
94
0 commit comments