3 releases
0.1.2 | Sep 11, 2023 |
---|---|
0.1.1 | Aug 9, 2023 |
0.1.0 | Aug 9, 2023 |
#11 in #tld
15KB
294 lines
A simple and fast (probably) domain pattern matcher
A quick example of how and what it matches
domain.tld |
sub.domain.tld |
sub.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
Dependencies
~17KB