summaryrefslogtreecommitdiffstats
path: root/src/regexps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/regexps.cpp')
-rw-r--r--src/regexps.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/regexps.cpp b/src/regexps.cpp
index 32031c0..d407d6b 100644
--- a/src/regexps.cpp
+++ b/src/regexps.cpp
@@ -9,7 +9,6 @@
***************************************************************************/
#include "regexps.h"
-#include "debug.h"
#include <kdebug.h>
@@ -18,16 +17,16 @@ bool match_dversion(TQString version)
static TQRegExp rx_revision(rxs_revision);
TQString allowed_vchars = ".+\\w";
- kdDebug(DEBUG_ZONE) << version << endl;
+ kdDebug(7130) << version << endl;
if (version[1] == ':')
{
allowed_vchars += ":";
if (! version[0].isDigit()) return false;
- kdDebug(DEBUG_ZONE) << "Matched epoch" << endl;
+ kdDebug(7130) << "Matched epoch" << endl;
version = version.right( version.length() - 2 );
}
- kdDebug(DEBUG_ZONE) << version << endl;
+ kdDebug(7130) << version << endl;
int rev_pos = version.findRev('-');
if (rev_pos > -1)
{
@@ -36,7 +35,7 @@ bool match_dversion(TQString version)
if (! rx_revision.exactMatch(revision))
return false;
- kdDebug(DEBUG_ZONE) << "Matched revision" << endl;
+ kdDebug(7130) << "Matched revision" << endl;
version.truncate( version.length() - rev_pos - 1 );
}