Boost C++ Libraries

...one 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 to view this page for the latest version.
PrevUpHomeNext

Testing leftmost-longest searches (platform = linux, compiler = GNU C++ version 6.3.0)

Table 15. Testing leftmost-longest searches (platform = linux, compiler = GNU C++ version 6.3.0)

Expression
Text

boost 1.65

std::regex

POSIX

<a[^>]+href=("[^"]*"|[^[:space:]]+)[^>]*>
In file: ....../libs/libraries.htm

1.00
(107026ns)

1.44
(154551ns)

1.64
(175184ns)

<img[^>]+src=("[^"]*"|[^[:space:]]+)[^>]*>
In file: ....../libs/libraries.htm

1.00
(15420ns)

6.89
(106275ns)

1.59
(24567ns)

Beman|John|Dave
In file: ....../libs/libraries.htm

1.03
(5399ns)

36.27
(190577ns)

1.00
(5254ns)



PrevUpHomeNext