Skip to content

Commit 22e8fc2

Browse files
committed
Fixing typo in break_url() description
1 parent d0ceca9 commit 22e8fc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

portmap/core/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def break_url(url_text):
197197
The pattern captures:
198198
1. Optional protocol (http:// or https://)
199199
2. Followed by a domain name (including letters, digits, dots, hyphens)
200-
3. A period, and ome pf tje listed TLDs
200+
3. A period, and one of the listed TLDs
201201
4. Followed by zero or more non-space characters (e.g., /path)
202202
"""
203203
pattern = r'((https?:\/\/)?[A-Za-z0-9.-]+\.(?:com|net|org|io|gov|edu)\b\S*)'

0 commit comments

Comments
 (0)