ENH: add keyType::null and wordRe::null, add match method to string classes

- provides a more uniform interface to string list operations etc

STYLE: more complete docs for keyType
This commit is contained in:
Mark Olesen
2010-08-04 10:35:16 +02:00
parent 692aa4abba
commit b89a3dc2c0
11 changed files with 98 additions and 32 deletions

View File

@ -82,6 +82,8 @@ public:
static const char* const typeName;
static int debug;
//- An empty string
static const string null;
@ -143,6 +145,9 @@ public:
template<class String>
static inline string quotemeta(const string&, const char quote='\\');
//- True when strings match literally
inline bool match(const std::string&) const;
//- Avoid masking the normal std::string replace
using std::string::replace;