syntax_option_type_literal.html 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
  4. <title>Options for Literal Strings</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="../syntax_option_type.html" title="syntax_option_type">
  9. <link rel="prev" href="syntax_option_type_basic.html" title="Options for POSIX Basic Regular Expressions">
  10. <link rel="next" href="../match_flag_type.html" title="match_flag_type">
  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="syntax_option_type_basic.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../syntax_option_type.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="../match_flag_type.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
  24. </div>
  25. <div class="section">
  26. <div class="titlepage"><div><div><h4 class="title">
  27. <a name="boost_regex.ref.syntax_option_type.syntax_option_type_literal"></a><a class="link" href="syntax_option_type_literal.html" title="Options for Literal Strings">Options
  28. for Literal Strings</a>
  29. </h4></div></div></div>
  30. <p>
  31. The following must always be set to interpret the expression as a string
  32. literal:
  33. </p>
  34. <div class="informaltable"><table class="table">
  35. <colgroup>
  36. <col>
  37. <col>
  38. <col>
  39. </colgroup>
  40. <thead><tr>
  41. <th>
  42. <p>
  43. Element
  44. </p>
  45. </th>
  46. <th>
  47. <p>
  48. Standardized
  49. </p>
  50. </th>
  51. <th>
  52. <p>
  53. Effect when set
  54. </p>
  55. </th>
  56. </tr></thead>
  57. <tbody><tr>
  58. <td>
  59. <p>
  60. literal
  61. </p>
  62. </td>
  63. <td>
  64. <p>
  65. Yes
  66. </p>
  67. </td>
  68. <td>
  69. <p>
  70. Treat the string as a literal (no special characters).
  71. </p>
  72. </td>
  73. </tr></tbody>
  74. </table></div>
  75. <p>
  76. The following options may also be combined with the literal flag:
  77. </p>
  78. <div class="informaltable"><table class="table">
  79. <colgroup>
  80. <col>
  81. <col>
  82. <col>
  83. </colgroup>
  84. <thead><tr>
  85. <th>
  86. <p>
  87. Element
  88. </p>
  89. </th>
  90. <th>
  91. <p>
  92. Standardized
  93. </p>
  94. </th>
  95. <th>
  96. <p>
  97. Effect when set
  98. </p>
  99. </th>
  100. </tr></thead>
  101. <tbody>
  102. <tr>
  103. <td>
  104. <p>
  105. icase
  106. </p>
  107. </td>
  108. <td>
  109. <p>
  110. Yes
  111. </p>
  112. </td>
  113. <td>
  114. <p>
  115. Specifies that matching of regular expressions against a character
  116. container sequence shall be performed without regard to case.
  117. </p>
  118. </td>
  119. </tr>
  120. <tr>
  121. <td>
  122. <p>
  123. optimize
  124. </p>
  125. </td>
  126. <td>
  127. <p>
  128. Yes
  129. </p>
  130. </td>
  131. <td>
  132. <p>
  133. Specifies that the regular expression engine should pay more
  134. attention to the speed with which regular expressions are matched,
  135. and less to the speed with which regular expression objects are
  136. constructed. Otherwise it has no detectable effect on the program
  137. output. This currently has no effect for Boost.Regex.
  138. </p>
  139. </td>
  140. </tr>
  141. </tbody>
  142. </table></div>
  143. </div>
  144. <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
  145. <td align="left"></td>
  146. <td align="right"><div class="copyright-footer">Copyright &#169; 1998-2013 John Maddock<p>
  147. Distributed under the Boost Software License, Version 1.0. (See accompanying
  148. 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>)
  149. </p>
  150. </div></td>
  151. </tr></table>
  152. <hr>
  153. <div class="spirit-nav">
  154. <a accesskey="p" href="syntax_option_type_basic.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../syntax_option_type.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="../match_flag_type.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
  155. </div>
  156. </body>
  157. </html>