From e274e4ad3f7a5092ba0217986dabd5afcd9ace02 Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 21 May 2007 16:41:31 +0000 Subject: Adding GetPattern to Regex, mostly for debugging purposes. --- include/BRegex.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/BRegex.h b/include/BRegex.h index f32405a..cd815b9 100644 --- a/include/BRegex.h +++ b/include/BRegex.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: BRegex.h,v 1.2 2004-12-18 13:15:25 pixel Exp $ */ +/* $Id: BRegex.h,v 1.3 2007-05-21 16:41:31 pixel Exp $ */ #ifndef __REGEX_H__ #define __REGEX_H__ @@ -32,6 +32,7 @@ class Regex : public Base { Regex(const Regex &); ~Regex(); bool Match(const String &) const; + String GetPattern() const; private: regex_t preg; int cflags, eflags; -- cgit v1.2.3