Debian Codegraph @

docs/patterns/basic_patterns.csv

raw
1 Pattern, Behaviour
2 The empty string, Universal pattern. Match any URL
3 ``example.com``, "
4
5 Match any URL whose domain is ``example.com`` or any of its subdomains.
6
7 |
8
9 **Match:**
10
11 * ``http://example.com/anything?id=24``
12 * ``https://www.example.com/page#with_fragment``
13
14 **Don't match:**
15
16 * ``http://myexample.com``
17 "
18 ``example.com/articles/``, "
19
20 Match any URL whose domain is ``example.com`` or ``www.example.com`` and path starts by ``/articles/``.
21
22 |
23
24 **Match:**
25
26 * ``http://www.example.com/articles/article1``
27 * ``https://example.com/articles/another_article?id=23``
28
29 **Don't match:**
30
31 * ``http://example.com/articles``
32 * ``http://shop.example.com/articles/article1``
33
34 "