]> git.tdb.fi Git - libs/core.git/blobdiff - source/strings/regex.h
Use unsigned char as element of Regex::Code
[libs/core.git] / source / strings / regex.h
index 70f9ebb7f592a4e161c9b5df45430a676e738466..5b809ab3c363415382a66bbbcf855140a47c5329 100644 (file)
@@ -1,9 +1,3 @@
-/* $Id$
-
-This file is part of libmspstrings
-Copyright © 2007 Mikko Rasa
-Distributed under the LGPL
-*/
 #ifndef MSP_STRINGS_REGEX_H_
 #define MSP_STRINGS_REGEX_H_
 
@@ -67,7 +61,7 @@ The MATCH_ANY instruction consumes the input character and always succeeds.
 class Regex
 {
 private:
-       typedef std::string Code;
+       typedef std::basic_string<unsigned char> Code;
        typedef unsigned short Count;
        typedef short Offset;
        typedef unsigned short Index;