Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chasingboy/Xtools
/ is_url
Function
is_url
utils.py:269–276 ·
view source on GitHub ↗
(urls)
Source
from the content-addressed store, hash-verified
267
268
269
def
is_url(urls):
270
errurls =
''
271
for
url in urls:
272
if
re.match(r
'^https?:/{2}\w.+$'
, url):
273
pass
274
else
:
275
errurls += url +
'\n'
276
return
errurls
277
278
279
def
unique_sort_ipv4(ips):
Callers
1
run
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected