mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-03 01:39:23 +01:00
Some slight regexp updates.
This commit is contained in:
parent
84b7454709
commit
d0c7d47de4
@ -175,9 +175,9 @@ class Debian(callbacks.Privmsg, PeriodicFileDownloader):
|
|||||||
irc.reply(msg, utils.commaAndify(packages))
|
irc.reply(msg, utils.commaAndify(packages))
|
||||||
|
|
||||||
_debreflags = re.DOTALL | re.IGNORECASE
|
_debreflags = re.DOTALL | re.IGNORECASE
|
||||||
_debpkgre = re.compile(r'<a.*>(.*?)</a>', _debreflags)
|
_debpkgre = re.compile(r'<a[^>]+>(.*?)</a>', _debreflags)
|
||||||
_debbrre = re.compile(r'<td align="center">(\S+)\s*</?td>', _debreflags)
|
_debbrre = re.compile(r'<td align="center">(\S+)\s*</?td>', _debreflags)
|
||||||
_debtablere = re.compile(r'<table\s*[^>]*>(.*?)</table>', _debreflags)
|
_debtablere = re.compile(r'<table[^>]*>(.*?)</table>', _debreflags)
|
||||||
_debnumpkgsre = re.compile(r'out of total of (\d+)', _debreflags)
|
_debnumpkgsre = re.compile(r'out of total of (\d+)', _debreflags)
|
||||||
_debBranches = ('stable', 'testing', 'unstable', 'experimental')
|
_debBranches = ('stable', 'testing', 'unstable', 'experimental')
|
||||||
def debversion(self, irc, msg, args):
|
def debversion(self, irc, msg, args):
|
||||||
|
Loading…
Reference in New Issue
Block a user