I am using BOOST Tokenizer to break a string into toekn. Basically the tokens will be used to create a compiler for VSL based on c/c++. What i wanted to ask that is it possible that the delimiter defined created using
char_separator<char> sep("; << ");
be also displayed for example if i use Boost tokenizer on string
string s= "cout<<hello;"
it should make the following tokens
cout
<<
hello
;
Also how can i ensure that it does not convert tokenize something in quotes like
string s= "hello my \"name is\" Hassan"
should be converted to following tokens
hello
my
name is
Hassan