daklib.regexes¶
Central repository of regexes for dak
@contact: Debian FTP Master <ftpmaster@debian.org> @copyright: 2001, 2002, 2003, 2004, 2005, 2006 James Troup <james@nocrew.org> @copyright: 2009 Mark Hymers <mhy@debian.org> @copyright: 2009, 2010 Joerg Jaspert <joerg@debian.org> @license: GNU General Public License version 2 or later
Module Attributes
Is it a number? |
|
Looking for the default reply |
|
Detect a binnmu |
|
To sort out comment lines |
|
To ignore comment and whitespace lines. |
- daklib.regexes.re_bin_only_nmu = re.compile('\\+b\\d+$')¶
Detect a binnmu
- daklib.regexes.re_comments = re.compile('\\#.*')¶
To sort out comment lines
- daklib.regexes.re_default_answer = re.compile('\\[(.*)\\]')¶
Looking for the default reply
- daklib.regexes.re_isanum = re.compile('^\\d+$')¶
Is it a number?
- daklib.regexes.re_whitespace_comment = re.compile('^\\s*(#|$)')¶
To ignore comment and whitespace lines.