mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-11-15 23:27:30 +01:00
parent
6c54352713
commit
43d4861577
@ -43,7 +43,7 @@ __contributors__ = {supybot.Author("James Lu", "GLolol", "glolol@overdrivenetwor
|
|||||||
supybot.Author('nyuszika7h', 'nyuszika7h', 'nyuszika7h@openmailbox.org'):
|
supybot.Author('nyuszika7h', 'nyuszika7h', 'nyuszika7h@openmailbox.org'):
|
||||||
["_unpack_sed method within plugin.py"]
|
["_unpack_sed method within plugin.py"]
|
||||||
}
|
}
|
||||||
__url__ = 'https://github.com/GLolol/SupyPlugins'
|
__url__ = 'https://github.com/jlu5/SupyPlugins'
|
||||||
|
|
||||||
from . import config
|
from . import config
|
||||||
from . import plugin
|
from . import plugin
|
||||||
|
|||||||
@ -49,7 +49,7 @@ except ImportError:
|
|||||||
if sys.version_info[0] < 3:
|
if sys.version_info[0] < 3:
|
||||||
raise ImportError('This plugin requires Python 3. For a legacy version of this plugin that still '
|
raise ImportError('This plugin requires Python 3. For a legacy version of this plugin that still '
|
||||||
'supports Python 2, consult the python2-legacy branch at '
|
'supports Python 2, consult the python2-legacy branch at '
|
||||||
'https://github.com/GLolol/SupyPlugins/tree/python2-legacy')
|
'https://github.com/jlu5/SupyPlugins/tree/python2-legacy')
|
||||||
|
|
||||||
SED_REGEX = re.compile(r"^(?:(?P<nick>.+?)[:,] )?s(?P<delim>[^\w\s])(?P<pattern>.*?)(?P=delim)"
|
SED_REGEX = re.compile(r"^(?:(?P<nick>.+?)[:,] )?s(?P<delim>[^\w\s])(?P<pattern>.*?)(?P=delim)"
|
||||||
r"(?P<replacement>.*?)(?P=delim)(?P<flags>[a-z]*)$")
|
r"(?P<replacement>.*?)(?P=delim)(?P<flags>[a-z]*)$")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user