3 <meta http-equiv=
"Content-Type" content=
"text/html; charset=US-ASCII">
4 <title>Testing simple leftmost-longest matches (platform = linux, compiler = GNU C++ version
5.1.0)
</title>
5 <link rel=
"stylesheet" href=
"../../../../../../../doc/src/boostbook.css" type=
"text/css">
6 <meta name=
"generator" content=
"DocBook XSL Stylesheets V1.77.1">
7 <link rel=
"home" href=
"../../../index.html" title=
"Boost.Regex 5.1.2">
8 <link rel=
"up" href=
"../performance.html" title=
"Performance">
9 <link rel=
"prev" href=
"section_Testing_simple_leftmost_longest_matches_platform_Windows_x64_compiler_Microsoft_Visual_C_version_14_0_.html" title=
"Testing simple leftmost-longest matches (platform = Windows x64, compiler = Microsoft Visual C++ version 14.0)">
10 <link rel=
"next" href=
"../standards.html" title=
"Standards Conformance">
12 <body bgcolor=
"white" text=
"black" link=
"#0000FF" vlink=
"#840084" alink=
"#0000FF">
13 <table cellpadding=
"2" width=
"100%"><tr>
14 <td valign=
"top"><img alt=
"Boost C++ Libraries" width=
"277" height=
"86" src=
"../../../../../../../boost.png"></td>
15 <td align=
"center"><a href=
"../../../../../../../index.html">Home
</a></td>
16 <td align=
"center"><a href=
"../../../../../../../libs/libraries.htm">Libraries
</a></td>
17 <td align=
"center"><a href=
"http://www.boost.org/users/people.html">People
</a></td>
18 <td align=
"center"><a href=
"http://www.boost.org/users/faq.html">FAQ
</a></td>
19 <td align=
"center"><a href=
"../../../../../../../more/index.htm">More
</a></td>
22 <div class=
"spirit-nav">
23 <a accesskey=
"p" href=
"section_Testing_simple_leftmost_longest_matches_platform_Windows_x64_compiler_Microsoft_Visual_C_version_14_0_.html"><img src=
"../../../../../../../doc/src/images/prev.png" alt=
"Prev"></a><a accesskey=
"u" href=
"../performance.html"><img src=
"../../../../../../../doc/src/images/up.png" alt=
"Up"></a><a accesskey=
"h" href=
"../../../index.html"><img src=
"../../../../../../../doc/src/images/home.png" alt=
"Home"></a><a accesskey=
"n" href=
"../standards.html"><img src=
"../../../../../../../doc/src/images/next.png" alt=
"Next"></a>
26 <div class=
"titlepage"><div><div><h4 class=
"title">
27 <a name=
"boost_regex.background_information.performance.section_Testing_simple_leftmost_longest_matches_platform_linux_compiler_GNU_C_version_5_1_0_"></a><a class=
"link" href=
"section_Testing_simple_leftmost_longest_matches_platform_linux_compiler_GNU_C_version_5_1_0_.html" title=
"Testing simple leftmost-longest matches (platform = linux, compiler = GNU C++ version 5.1.0)">Testing
28 simple leftmost-longest matches (platform = linux, compiler = GNU C++ version
30 </h4></div></div></div>
32 <a name=
"boost_regex.background_information.performance.section_Testing_simple_leftmost_longest_matches_platform_linux_compiler_GNU_C_version_5_1_0_.table_Testing_simple_leftmost_longest_matches_platform_linux_compiler_GNU_C_version_5_1_0_"></a><p class=
"title"><b>Table
 15.
 Testing simple leftmost-longest matches (platform = linux, compiler
33 = GNU C++ version
5.1.0)
</b></p>
34 <div class=
"table-contents"><table class=
"table" summary=
"Testing simple leftmost-longest matches (platform = linux, compiler
35 = GNU C++ version 5.1.0)">
68 <code class=
"literal">([[:digit:]]{
4}[- ]){
3}[[:digit:]]{
3,
4}
</code><br>
69 <code class=
"literal">1234-
5678-
1234-
456</code>
74 <span class=
"green">1.00<br> (
431ns)
</span>
79 <span class=
"blue">1.25<br> (
537ns)
</span>
84 <span class=
"blue">3.45<br> (
1486ns)
</span>
91 <code class=
"literal">^([
0-
9]+)(\-| |$)(.*)$
</code><br> <code class=
"literal">100-
92 this is a line of ftp response which contains a message string
</code>
97 <span class=
"red">4.60<br> (
2203ns)
</span>
102 <span class=
"green">1.00<br> (
479ns)
</span>
107 <span class=
"red">12.80<br> (
6133ns)
</span>
114 <code class=
"literal">^([a-zA-Z0-
9_\-\.]+)@((\[[
0-
9]{
1,
3}\.[
0-
9]{
1,
3}\.[
0-
9]{
1,
3}\.)|(([a-zA-Z0-
9\-]+\.)+))([a-zA-Z]{
2,
4}|[
0-
9]{
1,
3})(\
115 ...
</code><br> <code class=
"literal">bob.smith@foo.tv
</code>
120 <span class=
"blue">1.28<br> (
869ns)
</span>
125 <span class=
"green">1.00<br> (
681ns)
</span>
130 <span class=
"blue">2.61<br> (
1775ns)
</span>
137 <code class=
"literal">^([a-zA-Z0-
9_\-\.]+)@((\[[
0-
9]{
1,
3}\.[
0-
9]{
1,
3}\.[
0-
9]{
1,
3}\.)|(([a-zA-Z0-
9\-]+\.)+))([a-zA-Z]{
2,
4}|[
0-
9]{
1,
3})(\
138 ...
</code><br> <code class=
"literal">foo12@foo.edu
</code>
143 <span class=
"green">1.11<br> (
752ns)
</span>
148 <span class=
"green">1.00<br> (
675ns)
</span>
153 <span class=
"blue">2.44<br> (
1644ns)
</span>
160 <code class=
"literal">^([a-zA-Z0-
9_\-\.]+)@((\[[
0-
9]{
1,
3}\.[
0-
9]{
1,
3}\.[
0-
9]{
1,
3}\.)|(([a-zA-Z0-
9\-]+\.)+))([a-zA-Z]{
2,
4}|[
0-
9]{
1,
3})(\
161 ...
</code><br> <code class=
"literal">john@johnmaddock.co.uk
</code>
166 <span class=
"blue">1.24<br> (
1116ns)
</span>
171 <span class=
"green">1.00<br> (
899ns)
</span>
176 <span class=
"blue">2.61<br> (
2342ns)
</span>
183 <code class=
"literal">^[-+]?[[:digit:]]*\.?[[:digit:]]*$
</code><br>
184 <code class=
"literal">+
3.14159</code>
189 <span class=
"blue">1.61<br> (
339ns)
</span>
194 <span class=
"blue">1.76<br> (
370ns)
</span>
199 <span class=
"green">1.00<br> (
210ns)
</span>
206 <code class=
"literal">^[-+]?[[:digit:]]*\.?[[:digit:]]*$
</code><br>
207 <code class=
"literal">-
3.14159</code>
212 <span class=
"blue">1.66<br> (
342ns)
</span>
217 <span class=
"blue">1.79<br> (
368ns)
</span>
222 <span class=
"green">1.00<br> (
206ns)
</span>
229 <code class=
"literal">^[-+]?[[:digit:]]*\.?[[:digit:]]*$
</code><br>
230 <code class=
"literal">123</code>
235 <span class=
"blue">1.69<br> (
248ns)
</span>
240 <span class=
"blue">3.70<br> (
544ns)
</span>
245 <span class=
"green">1.00<br> (
147ns)
</span>
252 <code class=
"literal">^[[:digit:]]{
1,
2}/[[:digit:]]{
1,
2}/[[:digit:]]{
4}$
</code><br>
253 <code class=
"literal">12/
12/
2001</code>
258 <span class=
"blue">2.23<br> (
256ns)
</span>
263 <span class=
"blue">2.63<br> (
303ns)
</span>
268 <span class=
"green">1.00<br> (
115ns)
</span>
275 <code class=
"literal">^[[:digit:]]{
1,
2}/[[:digit:]]{
1,
2}/[[:digit:]]{
4}$
</code><br>
276 <code class=
"literal">4/
1/
2001</code>
281 <span class=
"blue">1.97<br> (
213ns)
</span>
286 <span class=
"blue">2.70<br> (
292ns)
</span>
291 <span class=
"green">1.00<br> (
108ns)
</span>
298 <code class=
"literal">^[a-zA-Z]{
1,
2}[
0-
9][
0-
9A-Za-z]{
0,
1} {
0,
1}[
0-
9][A-Za-z]{
2}$
</code><br>
299 <code class=
"literal">EH10
2QQ
</code>
304 <span class=
"blue">2.38<br> (
255ns)
</span>
309 <span class=
"blue">3.31<br> (
354ns)
</span>
314 <span class=
"green">1.00<br> (
107ns)
</span>
321 <code class=
"literal">^[a-zA-Z]{
1,
2}[
0-
9][
0-
9A-Za-z]{
0,
1} {
0,
1}[
0-
9][A-Za-z]{
2}$
</code><br>
322 <code class=
"literal">G1
1AA
</code>
327 <span class=
"blue">2.12<br> (
216ns)
</span>
332 <span class=
"blue">2.90<br> (
296ns)
</span>
337 <span class=
"green">1.00<br> (
102ns)
</span>
344 <code class=
"literal">^[a-zA-Z]{
1,
2}[
0-
9][
0-
9A-Za-z]{
0,
1} {
0,
1}[
0-
9][A-Za-z]{
2}$
</code><br>
345 <code class=
"literal">SW1
1ZZ
</code>
350 <span class=
"blue">2.25<br> (
234ns)
</span>
355 <span class=
"blue">2.89<br> (
301ns)
</span>
360 <span class=
"green">1.00<br> (
104ns)
</span>
367 <code class=
"literal">abc
</code><br> <code class=
"literal">abc
</code>
372 <span class=
"blue">1.20<br> (
113ns)
</span>
377 <span class=
"blue">2.38<br> (
224ns)
</span>
382 <span class=
"green">1.00<br> (
94ns)
</span>
389 <br class=
"table-break">
391 <table xmlns:
rev=
"http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width=
"100%"><tr>
392 <td align=
"left"></td>
393 <td align=
"right"><div class=
"copyright-footer">Copyright
© 1998-
2013 John Maddock
<p>
394 Distributed under the Boost Software License, Version
1.0. (See accompanying
395 file LICENSE_1_0.txt or copy at
<a href=
"http://www.boost.org/LICENSE_1_0.txt" target=
"_top">http://www.boost.org/LICENSE_1_0.txt
</a>)
400 <div class=
"spirit-nav">
401 <a accesskey=
"p" href=
"section_Testing_simple_leftmost_longest_matches_platform_Windows_x64_compiler_Microsoft_Visual_C_version_14_0_.html"><img src=
"../../../../../../../doc/src/images/prev.png" alt=
"Prev"></a><a accesskey=
"u" href=
"../performance.html"><img src=
"../../../../../../../doc/src/images/up.png" alt=
"Up"></a><a accesskey=
"h" href=
"../../../index.html"><img src=
"../../../../../../../doc/src/images/home.png" alt=
"Home"></a><a accesskey=
"n" href=
"../standards.html"><img src=
"../../../../../../../doc/src/images/next.png" alt=
"Next"></a>