mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-25 00:56:14 +08:00
typos
This commit is contained in:
@@ -9,7 +9,6 @@ class Domain(object):
|
|||||||
|
|
||||||
:param str string: input string
|
:param str string: input string
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, string):
|
def __init__(self, string):
|
||||||
self.string = str(string)
|
self.string = str(string)
|
||||||
self.regexp = r'\b((?=[a-z0-9-]{1,63}\.)(xn--)?[a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,63}\b'
|
self.regexp = r'\b((?=[a-z0-9-]{1,63}\.)(xn--)?[a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,63}\b'
|
||||||
|
|||||||
@@ -5,6 +5,5 @@ class Query(Module):
|
|||||||
"""
|
"""
|
||||||
Query base class
|
Query base class
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
Module.__init__(self)
|
Module.__init__(self)
|
||||||
|
|||||||
Reference in New Issue
Block a user