Boost C++ Libraries Home Libraries People FAQ More

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