Boost logo

Boost Users :

Subject: [Boost-users] [Regex] Is it possible to match any "linebreak"
From: Christoph Duelli (duelli_at_[hidden])
Date: 2012-03-20 10:11:50

Is there a way to have a regex like
have \n match any line breaking character?
(The processed files might have Unix or DOS line endings.)

I know I could modify the regex
but I was hoping there might be an easier solution like a character class
[[:linebreak:]], or maybe an escaped character like \R or something like

(I am using Boost 1.43 in the relevant project.)

Thank you and best regards

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