Crate eater_domainmatcher

Crate eater_domainmatcher 

Source
Expand description

A simple and fast (probably) domain pattern matcher

A quick example of how and what it matches

 domain.tldsub.domain.tldsub.sub.domain.tld
domain.tld🅾️🅾️
*.domain.tld🅾️
+.domain.tld🅾️🅾️
**.domain.tld
**+.domain.tld🅾️

§Implementation notes

There’s some form of algorithmic blow up when doing *.*.*.*.*.*, this could be worked out in future versions, TODO etc

Structs§

DomainPattern
DomainPatternWildcard
InvalidToken

Enums§

DomainPatternPart