Move regexes into a module so we can keep track
Rather than scatter regexes all over the place (for things
which should probably be functions hiding the implementation
detail anyways such as "is this a valid package version"),
move them into daklib.regexes.
I'm not convinced this is an immediate win, but I think it's
one step on a long road...
Oh, and it's untested
Signed-off-by: NMark Hymers <mhy@debian.org>
Showing
daklib/regexes.py
0 → 100644
想要评论请 注册 或 登录