algorithm.html 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
  4. <title>Algorithm Selection</title>
  5. <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
  6. <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
  7. <link rel="home" href="../../index.html" title="Boost.Regex 5.1.4">
  8. <link rel="up" href="../configuration.html" title="Configuration">
  9. <link rel="prev" href="linkage.html" title="Linkage Options">
  10. <link rel="next" href="tuning.html" title="Algorithm Tuning">
  11. </head>
  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>
  20. </tr></table>
  21. <hr>
  22. <div class="spirit-nav">
  23. <a accesskey="p" href="linkage.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../configuration.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="tuning.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
  24. </div>
  25. <div class="section">
  26. <div class="titlepage"><div><div><h3 class="title">
  27. <a name="boost_regex.configuration.algorithm"></a><a class="link" href="algorithm.html" title="Algorithm Selection">Algorithm Selection</a>
  28. </h3></div></div></div>
  29. <div class="informaltable"><table class="table">
  30. <colgroup>
  31. <col>
  32. <col>
  33. </colgroup>
  34. <thead><tr>
  35. <th>
  36. <p>
  37. macro
  38. </p>
  39. </th>
  40. <th>
  41. <p>
  42. description
  43. </p>
  44. </th>
  45. </tr></thead>
  46. <tbody>
  47. <tr>
  48. <td>
  49. <p>
  50. BOOST_REGEX_RECURSIVE
  51. </p>
  52. </td>
  53. <td>
  54. <p>
  55. Tells Boost.Regex to use a stack-recursive matching algorithm.
  56. This is generally the fastest option (although there is very little
  57. in it), but can cause stack overflow in extreme cases, on Win32
  58. this can be handled safely, but this is not the case on other platforms.
  59. </p>
  60. </td>
  61. </tr>
  62. <tr>
  63. <td>
  64. <p>
  65. BOOST_REGEX_NON_RECURSIVE
  66. </p>
  67. </td>
  68. <td>
  69. <p>
  70. Tells Boost.Regex to use a non-stack recursive matching algorithm,
  71. this can be slightly slower than the alternative, but is always
  72. safe no matter how pathological the regular expression. This is
  73. the default on non-Win32 platforms.
  74. </p>
  75. </td>
  76. </tr>
  77. </tbody>
  78. </table></div>
  79. </div>
  80. <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
  81. <td align="left"></td>
  82. <td align="right"><div class="copyright-footer">Copyright &#169; 1998-2013 John Maddock<p>
  83. Distributed under the Boost Software License, Version 1.0. (See accompanying
  84. 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>)
  85. </p>
  86. </div></td>
  87. </tr></table>
  88. <hr>
  89. <div class="spirit-nav">
  90. <a accesskey="p" href="linkage.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../configuration.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="tuning.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
  91. </div>
  92. </body>
  93. </html>