Skip to content

Commit

Permalink
No foreshadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed Jan 18, 2024
1 parent 256aa1a commit a140eca
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ globToRegex('*.example.com');
excludeDuplicatePatterns(['https://*.google.com/*', 'https://google.com/*']);
// Returns ['https://*.google.com/*']

doesUrlMatchPatterns('https://google.com/', ['https://*.google.com/*', '*://example.com/*']);
// Returns true

assertValidPattern('https://google.*/*');
// Throws an error because the pattern is invalid

Expand Down

0 comments on commit a140eca

Please sign in to comment.