This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
此代码片段:
smatch m;
auto a = regex_search ("uyiu #23->45 kjlk", regex ("->"));
auto b = regex_match ("uyiu #23->45 kjlk", m, regex ("->"));
cout << a << " " << b;