In Ruby, when I match string like "12a" with regular expression /1(2)(a)/, I can find second and third chars in $1 and $2 variables. Like this:
"12a" =~ /1(2)(a)/
> $1
=> "2"
> $2
=> "a"
Can I make something like this in c++ Boost 1.37? I programming in Borland C++ 6, so last version of boost there works 1.37.0.