KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am converting my boost-based regular expressions to C++11 regex. I have a capture group called url : \s*?=\s*?(("(?<url>.*?)")|('?<url>.*?)')) With boost, if you had an smatch you could call match.str("url") to get the capture group by name. With std::smatch , I am only seeing indexed sub-matches. How can I get access to the url capture using the std::smatch class?
Tags (comma-separated)
Save Edits
Cancel