File: domain_patterns.csv

package info (click to toggle)
python-url-matcher 0.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 372 kB
  • sloc: python: 627; makefile: 17
file content (34 lines) | stat: -rw-r--r-- 596 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Pattern, Behaviour
``shop.example.com``, "

Match any URL whose domain is ``shop.example.com`` or any of its subdomains.

|

**Match:**

* ``https://shop.example.com/foo?id=34#fragment``
* ``http://uk.shop.example.com/foo?id=34``

**Don't match:**

* ``http://myshop.example.com``

"
``shop.example.com/``, "

Match any URL whose domain is ``shop.example.com`` or ``www.shop.example.com``.

|

**Match:**

* ``https://shop.example.com/foo?id=34#fragment``
* ``http://www.shop.example.com/foo?id=34``

**Don't match:**

* ``http://myshop.example.com``
* ``http://uk.shop.example.com/foo?id=34``

"