Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-02-15 03:54:33


On Thursday 14 February 2008 23:31:53 Shane Walker wrote:
>
> Is there a way to group parts of a regular expression into “named captures”? An example is this:
>
> (?<dir>^[NSns])(?<deg>[0-0]*\\d{1,2})[:|\\.](?<min>[0-0]*\\d{0,2})[:|\\.]?(?<sec>\\d{0,3}),
>
> which I would want to use to match a latitude input such as “N32:34.033”. But for some reason, I am receiving an
> error in VS C++ 2003 using boost library 1.34.1, saying that this regular expression has errors.
>
> How would I accomplish named captures in the boost library for Visual C++ 2003 MFC?

Please bring this question to the boost-users_at_[hidden] mailings list. This list deals
with the Boost.Build tool, not with C++ Boost libraries themself.

Thanks,
Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk