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

@@ -75,8 +75,9 @@ lines. The various available criteria are:
``url``
A regular expression that must match against the entire (unquoted) URL
``has_fragment``
A boolean (``yes/no``) on whether the URL has a fragment or not.
``fragment_matches``
A regular expression that must match against the fragment (part after #) in
the URL
``mime``
A comma separated list of MIME types, for example: ``text/*, image/*,