summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Regex.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Regex.cc b/lib/Regex.cc
index cf8be44..cedd72b 100644
--- a/lib/Regex.cc
+++ b/lib/Regex.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: Regex.cc,v 1.12 2004-12-18 13:15:26 pixel Exp $ */
+/* $Id: Regex.cc,v 1.13 2007-05-21 16:41:31 pixel Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -63,3 +63,7 @@ bool Regex::Match(const String & s) const {
return true;
}
}
+
+String Regex::GetPattern() const {
+ return pattern;
+}