summaryrefslogtreecommitdiffstats
path: root/src/regexps.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-10 20:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-10 20:23:29 +0000
commitea4406b4779306f4d0c65f0619cd8241bbdcef7b (patch)
treea63d24ddd768559eb993d9bb847acbc3750ef261 /src/regexps.h
downloadtdeio-apt-ea4406b4779306f4d0c65f0619cd8241bbdcef7b.tar.gz
tdeio-apt-ea4406b4779306f4d0c65f0619cd8241bbdcef7b.zip
Added abandoned version of kio-apt
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kio-apt@1088432 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/regexps.h')
-rw-r--r--src/regexps.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/regexps.h b/src/regexps.h
new file mode 100644
index 0000000..16f0e55
--- /dev/null
+++ b/src/regexps.h
@@ -0,0 +1,23 @@
+/***************************************************************************
+ * Copyright (C) 2003 by Sylvain Joyeux *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ ***************************************************************************/
+
+#ifndef REGEXPS_H
+#define REGEXPS_H
+
+#include <qstring.h>
+#include <qregexp.h>
+
+static const QString rxs_pkgname("\\w[\\w+-.]+");
+static const QString rxs_revision("\\w[.+\\w]*");
+
+bool match_dversion(QString version);
+
+#endif
+