From 473bf59297a9c8010fb35f505c872024ae3d259d Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 15 Oct 2009 10:26:27 +0000 Subject: correction bug threaded IvyApplication correction checkconnected self --- Ivy/IvyBinding.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Ivy/IvyBinding.cxx') diff --git a/Ivy/IvyBinding.cxx b/Ivy/IvyBinding.cxx index 7501d82..239d56a 100644 --- a/Ivy/IvyBinding.cxx +++ b/Ivy/IvyBinding.cxx @@ -59,10 +59,16 @@ IvyBinding::~IvyBinding() delete regexp; #endif /* USE_PCRE */ } +const char* IvyBinding::getExpression() +{ + return expression_string.c_str(); +} + bool IvyBinding::Compile( const char * expression, int *erroffset, const char **errmessage ) { int capture_count = 0; bool compile = false; + expression_string = expression; #ifdef USE_PCRE regexp = pcre_compile(expression, PCRE_CASELESS, &err_buf, &err_offset, NULL); if ( regexp != NULL ) -- cgit v1.1