From ab4700c941b95a3c7f6c19b42a1e0e2b35e1fe81 Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 16 Oct 2008 02:44:54 +0200 Subject: Adding submatches system. --- include/BRegex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/BRegex.h b/include/BRegex.h index 4d4f98f..ced5e25 100644 --- a/include/BRegex.h +++ b/include/BRegex.h @@ -29,7 +29,7 @@ class Regex : public Base { Regex(const String &, int = REG_EXTENDED, int = 0) throw (GeneralException); Regex(const Regex &); ~Regex(); - bool Match(const String &) const; + bool Match(const String &, int nmatch = 0, regmatch_t * = 0) const; String GetPattern() const; private: regex_t preg; -- cgit v1.2.3