static const boost::wregex seek_exp(L"SEEK\\s+(?<VALUE>\\d+)", boost::regex::icase);\r
static const boost::wregex length_exp(L"LENGTH\\s+(?<VALUE>\\d+)", boost::regex::icase);\r
static const boost::wregex start_exp(L"START\\s+(?<VALUE>\\d+)", boost::regex::icase);\r
-\r
+ \r
std::wstring result;\r
\r
boost::wsmatch what;\r
}\r
else if(boost::regex_match(param, what, length_exp))\r
{\r
- if(!what["LENGTH"].str().empty())\r
+ if(!what["VALUE"].str().empty())\r
{\r
- if(boost::iequals(what["LENGTH"].str(), "NaN"))\r
+ if(boost::iequals(what["VALUE"].str(), "NaN"))\r
input_.length(std::numeric_limits<uint32_t>::max());\r
else\r
- input_.length(boost::lexical_cast<uint32_t>(what["LENGTH"].str()));\r
+ input_.length(boost::lexical_cast<uint32_t>(what["VALUE"].str()));\r
}\r
result = boost::lexical_cast<std::wstring>(input_.length());\r
}\r
else if(boost::regex_match(param, what, start_exp))\r
{\r
- if(!what["START"].str().empty())\r
- input_.start(boost::lexical_cast<uint32_t>(what["START"].str()));\r
+ if(!what["VALUE"].str().empty())\r
+ input_.start(boost::lexical_cast<uint32_t>(what["VALUE"].str()));\r
result = boost::lexical_cast<std::wstring>(input_.start());\r
}\r
else\r