Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.



The performance of Boost.regex in both recursive and non-recursive modes should be broadly comparable to other regular expression libraries: recursive mode is slightly faster (especially where memory allocation requires thread synchronisation), but not by much.  The following pages compare Boost.regex with various other regular expression libraries for the following compilers:

Visual Studio.Net 2003 (recursive Boost.regex implementation).

Gcc 3.2 (cygwin) (non-recursive Boost.regex implementation).

Revised 24 Oct 2003

Copyright John Maddock 1998- 2003

Use, modification and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at