I’m familiar with Regex itself, but whenever I try to find any examples or documentation to use regex with Unix computers, I just get tutorials on how to write regex or how to use the .NET specific libraries available for Windows. I’ve been searching for a while and I can’t find any good tutorials on C++ regex on Unix machines.
What I’m trying to do:
Parse a string using regex by breaking it up and then reading the different subgroups. To make a PHP analogy, something like preg_match that returns all $matches.
Consider using Boost.Regex.
An example (from the website):
Another example: