diff options
Diffstat (limited to 'src/regexps.h')
-rw-r--r-- | src/regexps.h | 23 |
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 * + * [email protected] * + * * + * 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 + |