Commit fa3cb28
Small change to domain RE (#76)
* Update domain.py
Removing [.] from in the regex and added a non capturing group for it.
* Update test_domain.py
Added the following test case `a......b.com` to invalid domains.
* `+` and not a `*`
* removed extra `,`
* Update test_domain.py
removed extra lines.1 parent d8a5c21 commit fa3cb28
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments