extensions/regex/extension.cpp
changeset 2783 5f333027ef04
parent 2289 44045ead61cd
child 2790 6dd851ba15fd
     1.1 --- a/extensions/regex/extension.cpp	Sun Aug 30 00:03:58 2009 -0700
     1.2 +++ b/extensions/regex/extension.cpp	Sun Aug 30 00:21:42 2009 -0700
     1.3 @@ -29,8 +29,8 @@
     1.4   * Version: $Id$
     1.5   */
     1.6  
     1.7 +#include <sourcemod_version.h>
     1.8  #include "extension.h"
     1.9 -
    1.10  #include <sh_string.h>
    1.11  #include "pcre.h"
    1.12  #include "CRegEx.h"
    1.13 @@ -63,6 +63,16 @@
    1.14  
    1.15  }
    1.16  
    1.17 +const char *RegexExtension::GetVersion()
    1.18 +{
    1.19 +	return SM_FULL_VERSION;
    1.20 +}
    1.21 +
    1.22 +const char *RegexExtension::GetDate()
    1.23 +{
    1.24 +	return SM_BUILD_TIMESTAMP;
    1.25 +}
    1.26 +
    1.27  static cell_t CompileRegex(IPluginContext *pCtx, const cell_t *params)
    1.28  {
    1.29  	char *regex;