I have found this strange behaviour
- Code: Select all
int main(int argc, char* argv[])
{
std::string value_tmp = "123456789";
if (Poco::RegularExpression("[0-9]*").match(value_tmp) == true)
{
std::cout << "match" << std::endl;
}
return 0;
}
The above codes runs fine, it prints out the string "match".
However, if the string value_tmp contains a ' at the end, it does not match.
- Code: Select all
"123456789'"
Any idea ?
BTW, I fell in love with Poco recently.





