PHP的preg_match()等价于C++?

dro*_*ath 2 c++ preg-match

我的问题很简单.在C++ STL中是否有PHP的preg_match()函数等效?

如果没有,你能告诉我另一种选择吗?

谢谢.

Art*_*yom 6

STL(直到C++ 0x)不支持正则表达式.但你可以使用boost::regex库.