More powerful match criteria for fragments

This commit is contained in:
Kovid Goyal
2020-09-19 07:31:17 +05:30
parent 7b3e345a2a
commit 581126c748
5 changed files with 16 additions and 10 deletions

View File

@@ -43,7 +43,7 @@ from .config import ( # noqa; noqa
)
EdgeLiteral = Literal['left', 'top', 'right', 'bottom']
MatchType = Literal['mime', 'ext', 'protocol', 'file', 'path', 'url', 'has_fragment']
MatchType = Literal['mime', 'ext', 'protocol', 'file', 'path', 'url', 'fragment_matches']
GRT_a = Literal['t', 'T', 'q', 'p', 'd']
GRT_f = Literal[24, 32, 100]
GRT_t = Literal['d', 'f', 't', 's']