]> 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 8226c44ae057c2b17bb63adf8198c1686015525b..5b809ab3c363415382a66bbbcf855140a47c5329 100644 (file)
@@ -61,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;