diff options
author | pixel <pixel> | 2007-05-21 16:41:31 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-05-21 16:41:31 +0000 |
commit | e274e4ad3f7a5092ba0217986dabd5afcd9ace02 (patch) | |
tree | 7346484171cb90ff6ff27ee36f8597975b2fec8e /lib | |
parent | 7aebcc8c7e6d0bb7ba3a9d6ce32951d5ab5c99e5 (diff) |
Adding GetPattern to Regex, mostly for debugging purposes.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Regex.cc | 6 |
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; +} |