Boost logo

Boost Users :

Subject: Re: [Boost-users] [Regex] Is it possible to match any "linebreak"
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-03-20 14:54:58

> Is there a way to have a regex like
> [[:digit:]]{3}([^\n]+)\n?
> have \n match any line breaking character?
> (The processed files might have Unix or DOS line endings.)

Use \R, see:

HTH, John.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at