summaryrefslogtreecommitdiff
path: root/include/BRegex.h
diff options
context:
space:
mode:
authorpixel <pixel>2007-05-21 16:41:31 +0000
committerpixel <pixel>2007-05-21 16:41:31 +0000
commite274e4ad3f7a5092ba0217986dabd5afcd9ace02 (patch)
tree7346484171cb90ff6ff27ee36f8597975b2fec8e /include/BRegex.h
parent7aebcc8c7e6d0bb7ba3a9d6ce32951d5ab5c99e5 (diff)
Adding GetPattern to Regex, mostly for debugging purposes.
Diffstat (limited to 'include/BRegex.h')
-rw-r--r--include/BRegex.h3
1 files changed, 2 insertions, 1 deletions
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;