Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 68c0c2ff89d8bf9051ff1b9773ed48e4 > files > 2270

libzypp-doc-17.9.0-1.1.mga7.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libzypp: zypp/base/Regex.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libzypp
   &#160;<span id="projectnumber">17.9.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('Regex_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Regex.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="Regex_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*---------------------------------------------------------------------\</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">|                          ____ _   __ __ ___                          |</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">|                         |__  / \ / / . \ . \                         |</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">|                           / / \ V /|  _/  _/                         |</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">|                          / /__ | | | | | |                           |</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">|                         /_____||_| |_| |_|                           |</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">|                                                                      |</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">\---------------------------------------------------------------------*/</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#ifndef ZYPP_BASE_REGEX_H</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#define ZYPP_BASE_REGEX_H</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;iosfwd&gt;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;regex.h&gt;</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Exception_8h.html">zypp/base/Exception.h</a>&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacezypp.html">zypp</a></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;{</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;  <span class="keyword">namespace </span><a class="code" href="namespacestr.html">str</a></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;  {</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="namespacezypp_1_1str.html#aac915c73ebc6110beaf23ce11096154c">   54</a></span>&#160;    <span class="keyword">typedef</span> <a class="code" href="classzypp_1_1Exception.html">Exception</a> <a class="code" href="namespacezypp_1_1str.html#aac915c73ebc6110beaf23ce11096154c">regex_error</a>;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keyword">class </span><a class="code" href="classzypp_1_1str_1_1smatch.html">smatch</a>;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keyword">class </span><a class="code" href="classzypp_1_1str_1_1regex.html">regex</a>;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="namespacezypp_1_1str.html#a9144ba9f2723cdd7a421c7d177f69d32">regex_match</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * s, <a class="code" href="classzypp_1_1str_1_1smatch.html">smatch</a> &amp; matches, <span class="keyword">const</span> <a class="code" href="classzypp_1_1str_1_1regex.html">regex</a> &amp; <a class="code" href="classzypp_1_1str_1_1regex.html">regex</a> );</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="namespacezypp_1_1str.html#a9144ba9f2723cdd7a421c7d177f69d32">   70</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespacezypp_1_1str.html#a9144ba9f2723cdd7a421c7d177f69d32">regex_match</a>(<span class="keyword">const</span> std::string &amp; s, <a class="code" href="classzypp_1_1str_1_1smatch.html">smatch</a> &amp; matches, <span class="keyword">const</span> <a class="code" href="classzypp_1_1str_1_1regex.html">regex</a> &amp; <a class="code" href="classzypp_1_1str_1_1regex.html">regex</a>)</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    { <span class="keywordflow">return</span> <a class="code" href="namespacezypp_1_1str.html#a9144ba9f2723cdd7a421c7d177f69d32">regex_match</a>( s.c_str(), matches, <a class="code" href="classzypp_1_1str_1_1regex.html">regex</a> ); }</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="namespacezypp_1_1str.html#a9144ba9f2723cdd7a421c7d177f69d32">regex_match</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * s, <span class="keyword">const</span> regex &amp; regex );</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="namespacezypp_1_1str.html#a93821f5020aeb02549db8e6c385feb31">   77</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespacezypp_1_1str.html#a9144ba9f2723cdd7a421c7d177f69d32">regex_match</a>( <span class="keyword">const</span> std::string &amp; s, <span class="keyword">const</span> <a class="code" href="classzypp_1_1str_1_1regex.html">regex</a> &amp; <a class="code" href="classzypp_1_1str_1_1regex.html">regex</a> )</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    { <span class="keywordflow">return</span> <a class="code" href="namespacezypp_1_1str.html#a9144ba9f2723cdd7a421c7d177f69d32">regex_match</a>( s.c_str(), <a class="code" href="classzypp_1_1str_1_1regex.html">regex</a> ); }</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classzypp_1_1str_1_1regex.html">   86</a></span>&#160;    <span class="keyword">class </span><a class="code" href="classzypp_1_1str_1_1regex.html">regex</a></div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    {</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classzypp_1_1str_1_1regex.html#a54f5b3dc2ef0bb7ac0dbbcc24351002b">   90</a></span>&#160;      <span class="keyword">enum</span> <a class="code" href="classzypp_1_1str_1_1regex.html#a54f5b3dc2ef0bb7ac0dbbcc24351002b">RegFlags</a> {</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classzypp_1_1str_1_1regex.html#a54f5b3dc2ef0bb7ac0dbbcc24351002ba919218aec6dfc3c39045a03bc409bf95">   91</a></span>&#160;        <a class="code" href="classzypp_1_1str_1_1regex.html#a54f5b3dc2ef0bb7ac0dbbcc24351002ba919218aec6dfc3c39045a03bc409bf95">icase</a>           = REG_ICASE,    </div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classzypp_1_1str_1_1regex.html#a54f5b3dc2ef0bb7ac0dbbcc24351002bafa5104ab477aa02383f99e6526088b68">   92</a></span>&#160;        <a class="code" href="classzypp_1_1str_1_1regex.html#a54f5b3dc2ef0bb7ac0dbbcc24351002bafa5104ab477aa02383f99e6526088b68">nosubs</a>          = REG_NOSUB,    </div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="classzypp_1_1str_1_1regex.html#a54f5b3dc2ef0bb7ac0dbbcc24351002ba8f6d83f297ef1c7bcc58f8d496c1b369">   93</a></span>&#160;        <a class="code" href="classzypp_1_1str_1_1regex.html#a54f5b3dc2ef0bb7ac0dbbcc24351002ba8f6d83f297ef1c7bcc58f8d496c1b369">match_extended</a>  = REG_EXTENDED, </div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;      };</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;      <a class="code" href="classzypp_1_1str_1_1regex.html#a05d991dfda52fc749358436fddf8ea09">regex</a>();</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;      <a class="code" href="classzypp_1_1str_1_1regex.html#a05d991dfda52fc749358436fddf8ea09">regex</a>(<span class="keyword">const</span> std::string&amp; s,<span class="keywordtype">int</span> flags = <a class="code" href="classzypp_1_1str_1_1regex.html#a54f5b3dc2ef0bb7ac0dbbcc24351002ba8f6d83f297ef1c7bcc58f8d496c1b369">match_extended</a>);</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;      <a class="code" href="classzypp_1_1str_1_1regex.html#a0fb388374ba023a24cfe24cb0d65c8ff">~regex</a>() throw();</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classzypp_1_1str_1_1regex.html#abbc86e575d6bfff2394ba6c71ef50211">  100</a></span>&#160;      <a class="code" href="classzypp_1_1str_1_1regex.html">regex</a>(const <a class="code" href="classzypp_1_1str_1_1regex.html">regex</a> &amp; rhs)</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;      { <a class="code" href="classzypp_1_1str_1_1regex.html#a5429880f04d924a68dc9d3c72fe3b65b">assign</a>(rhs.m_str, rhs.m_flags); }</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classzypp_1_1str_1_1regex.html#aa53632fa67efaa7cea6bd8ce7eed601d">  103</a></span>&#160;      <a class="code" href="classzypp_1_1str_1_1regex.html">regex</a> &amp; <a class="code" href="classzypp_1_1str_1_1regex.html#aa53632fa67efaa7cea6bd8ce7eed601d">operator=</a>(<span class="keyword">const</span> <a class="code" href="classzypp_1_1str_1_1regex.html">regex</a> &amp; rhs)</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;      { <a class="code" href="classzypp_1_1str_1_1regex.html#a5429880f04d924a68dc9d3c72fe3b65b">assign</a>(rhs.<a class="code" href="classzypp_1_1str_1_1regex.html#a4a2aed7ae332df42564ebec7de30684b">m_str</a>, rhs.<a class="code" href="classzypp_1_1str_1_1regex.html#aaaa82ba77ee379b35fd6154fb8d5f55b">m_flags</a>); <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classzypp_1_1str_1_1regex.html#a5d392bdce8fe34c57e9eb76be4b269fc">  109</a></span>&#160;      std::string <a class="code" href="classzypp_1_1str_1_1regex.html#a5d392bdce8fe34c57e9eb76be4b269fc">asString</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="keyword">      </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1str_1_1regex.html#a4a2aed7ae332df42564ebec7de30684b">m_str</a>; }</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="classzypp_1_1str_1_1regex.html#acef16b09deccf27ab84645dd1f7ab237">  114</a></span>&#160;      regex_t * <a class="code" href="classzypp_1_1str_1_1regex.html#acef16b09deccf27ab84645dd1f7ab237">get</a>()</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;      { <span class="keywordflow">return</span> &amp; <a class="code" href="classzypp_1_1str_1_1regex.html#a22d37bf8535393fe4cbd033e626b41af">m_preg</a>; }</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <span class="keyword">private</span>:</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="classzypp_1_1str_1_1regex.html#a5429880f04d924a68dc9d3c72fe3b65b">assign</a>(<span class="keyword">const</span> std::string&amp; s,<span class="keywordtype">int</span> flags = <a class="code" href="classzypp_1_1str_1_1regex.html#a54f5b3dc2ef0bb7ac0dbbcc24351002ba8f6d83f297ef1c7bcc58f8d496c1b369">match_extended</a>);</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <span class="keyword">private</span>:</div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classzypp_1_1str_1_1regex.html#af026609d8ed2c8bfc046d0326b025934">  121</a></span>&#160;      <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classzypp_1_1str_1_1smatch.html">smatch</a>;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;      <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="classzypp_1_1str_1_1regex.html#a12e87c6774cb0b70baf8c156d4d7c069">regex_match</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * s, <a class="code" href="classzypp_1_1str_1_1smatch.html">str::smatch</a>&amp; matches, <span class="keyword">const</span> <a class="code" href="classzypp_1_1str_1_1regex.html">regex</a>&amp; <a class="code" href="classzypp_1_1str_1_1regex.html">regex</a>);</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;      <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="classzypp_1_1str_1_1regex.html#a12e87c6774cb0b70baf8c156d4d7c069">regex_match</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * s,  <span class="keyword">const</span> <a class="code" href="classzypp_1_1str_1_1regex.html">regex</a>&amp; <a class="code" href="classzypp_1_1str_1_1regex.html">regex</a>);</div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classzypp_1_1str_1_1regex.html#a4a2aed7ae332df42564ebec7de30684b">  124</a></span>&#160;      std::string <a class="code" href="classzypp_1_1str_1_1regex.html#a4a2aed7ae332df42564ebec7de30684b">m_str</a>;</div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classzypp_1_1str_1_1regex.html#aaaa82ba77ee379b35fd6154fb8d5f55b">  125</a></span>&#160;      <span class="keywordtype">int</span> <a class="code" href="classzypp_1_1str_1_1regex.html#aaaa82ba77ee379b35fd6154fb8d5f55b">m_flags</a>;</div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="classzypp_1_1str_1_1regex.html#a22d37bf8535393fe4cbd033e626b41af">  126</a></span>&#160;      regex_t <a class="code" href="classzypp_1_1str_1_1regex.html#a22d37bf8535393fe4cbd033e626b41af">m_preg</a>;</div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classzypp_1_1str_1_1regex.html#a6d68ebfcf9eb753917c904359613808d">  127</a></span>&#160;      <span class="keywordtype">bool</span> <a class="code" href="classzypp_1_1str_1_1regex.html#a6d68ebfcf9eb753917c904359613808d">m_valid</a>;</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    };</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="classzypp_1_1str_1_1regex.html#a0b7e07e4dffa3f76c41f5f84d2004e61">  131</a></span>&#160;    <span class="keyword">inline</span> std::ostream &amp; <a class="code" href="classzypp_1_1str_1_1regex.html#a0b7e07e4dffa3f76c41f5f84d2004e61">operator&lt;&lt;</a>( std::ostream &amp; <a class="code" href="namespacestr.html">str</a>, <span class="keyword">const</span> <a class="code" href="classzypp_1_1str_1_1regex.html">regex</a> &amp; obj )</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    { <span class="keywordflow">return</span> <a class="code" href="namespacestr.html">str</a> &lt;&lt; obj.<a class="code" href="classzypp_1_1str_1_1regex.html#a5d392bdce8fe34c57e9eb76be4b269fc">asString</a>(); }</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="classzypp_1_1str_1_1smatch.html">  145</a></span>&#160;    <span class="keyword">class </span><a class="code" href="classzypp_1_1str_1_1smatch.html">smatch</a></div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    {</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;      <a class="code" href="classzypp_1_1str_1_1smatch.html#a58c9bb5a97d50e56498768541dcbd8fb">smatch</a>();</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;      std::string <a class="code" href="classzypp_1_1str_1_1smatch.html#abf91bc8f9fc68e5968e5f2d090d8d656">operator[]</a>(<span class="keywordtype">unsigned</span> i) <span class="keyword">const</span>;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;      <span class="keywordtype">unsigned</span> <a class="code" href="classzypp_1_1str_1_1smatch.html#a823cb1fa9ccbeeba04a579d5a30c809a">size</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;      <a class="code" href="namespacezypp_1_1sat_1_1detail.html#ac0d3ca93132eee14b022898f23b49d07">std::string::size_type</a> <a class="code" href="classzypp_1_1str_1_1smatch.html#a9e759dd7b498c85202d3b4d127a17a9b">begin</a>( <span class="keywordtype">unsigned</span> i ) <span class="keyword">const</span>;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;      <a class="code" href="namespacezypp_1_1sat_1_1detail.html#ac0d3ca93132eee14b022898f23b49d07">std::string::size_type</a> <a class="code" href="classzypp_1_1str_1_1smatch.html#a88d6e57f9c71cb8a2e642786cbf2837b">end</a>( <span class="keywordtype">unsigned</span> i ) <span class="keyword">const</span>;</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;      <a class="code" href="namespacezypp_1_1sat_1_1detail.html#ac0d3ca93132eee14b022898f23b49d07">std::string::size_type</a> <a class="code" href="classzypp_1_1str_1_1smatch.html#a823cb1fa9ccbeeba04a579d5a30c809a">size</a>( <span class="keywordtype">unsigned</span> i ) <span class="keyword">const</span>;</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="classzypp_1_1str_1_1smatch.html#ad2ce1a53f182279dec39642eca9eef46">  163</a></span>&#160;      std::string <a class="code" href="classzypp_1_1str_1_1smatch.html#ad2ce1a53f182279dec39642eca9eef46">match_str</a>;</div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="classzypp_1_1str_1_1smatch.html#af044ec831804d008c8438acc052ca9ff">  164</a></span>&#160;      regmatch_t <a class="code" href="classzypp_1_1str_1_1smatch.html#af044ec831804d008c8438acc052ca9ff">pmatch</a>[12];</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    };</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;  } <span class="comment">// namespace str</span></div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="comment"></span>} <span class="comment">// namespace zypp</span></div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="comment"></span><span class="preprocessor">#endif // ZYPP_BASE_STRING_H</span></div><div class="ttc" id="classzypp_1_1str_1_1smatch_html_a823cb1fa9ccbeeba04a579d5a30c809a"><div class="ttname"><a href="classzypp_1_1str_1_1smatch.html#a823cb1fa9ccbeeba04a579d5a30c809a">zypp::str::smatch::size</a></div><div class="ttdeci">unsigned size() const</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8cc_source.html#l00095">Regex.cc:95</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1smatch_html_a58c9bb5a97d50e56498768541dcbd8fb"><div class="ttname"><a href="classzypp_1_1str_1_1smatch.html#a58c9bb5a97d50e56498768541dcbd8fb">zypp::str::smatch::smatch</a></div><div class="ttdeci">smatch()</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8cc_source.html#l00073">Regex.cc:73</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1regex_html_a05d991dfda52fc749358436fddf8ea09"><div class="ttname"><a href="classzypp_1_1str_1_1regex.html#a05d991dfda52fc749358436fddf8ea09">zypp::str::regex::regex</a></div><div class="ttdeci">regex()</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8cc_source.html#l00022">Regex.cc:22</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1regex_html"><div class="ttname"><a href="classzypp_1_1str_1_1regex.html">zypp::str::regex</a></div><div class="ttdoc">Regular expression.</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8h_source.html#l00086">Regex.h:86</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1regex_html_a22d37bf8535393fe4cbd033e626b41af"><div class="ttname"><a href="classzypp_1_1str_1_1regex.html#a22d37bf8535393fe4cbd033e626b41af">zypp::str::regex::m_preg</a></div><div class="ttdeci">regex_t m_preg</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8h_source.html#l00126">Regex.h:126</a></div></div>
<div class="ttc" id="namespacestr_html"><div class="ttname"><a href="namespacestr.html">str</a></div><div class="ttdoc">String related utilities and Regular expression matching.</div></div>
<div class="ttc" id="classzypp_1_1str_1_1regex_html_a0b7e07e4dffa3f76c41f5f84d2004e61"><div class="ttname"><a href="classzypp_1_1str_1_1regex.html#a0b7e07e4dffa3f76c41f5f84d2004e61">zypp::str::regex::operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;str, const regex &amp;obj)</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8h_source.html#l00131">Regex.h:131</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1smatch_html_a88d6e57f9c71cb8a2e642786cbf2837b"><div class="ttname"><a href="classzypp_1_1str_1_1smatch.html#a88d6e57f9c71cb8a2e642786cbf2837b">zypp::str::smatch::end</a></div><div class="ttdeci">std::string::size_type end(unsigned i) const</div><div class="ttdoc">End index of subexpression i in match_str (or std::string::npos)</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8cc_source.html#l00089">Regex.cc:89</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1smatch_html_a9e759dd7b498c85202d3b4d127a17a9b"><div class="ttname"><a href="classzypp_1_1str_1_1smatch.html#a9e759dd7b498c85202d3b4d127a17a9b">zypp::str::smatch::begin</a></div><div class="ttdeci">std::string::size_type begin(unsigned i) const</div><div class="ttdoc">Begin index of subexpression i in match_str (or std::string::npos)</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8cc_source.html#l00086">Regex.cc:86</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1regex_html_a54f5b3dc2ef0bb7ac0dbbcc24351002bafa5104ab477aa02383f99e6526088b68"><div class="ttname"><a href="classzypp_1_1str_1_1regex.html#a54f5b3dc2ef0bb7ac0dbbcc24351002bafa5104ab477aa02383f99e6526088b68">zypp::str::regex::nosubs</a></div><div class="ttdoc">Support for substring addressing of matches is not required.</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8h_source.html#l00092">Regex.h:92</a></div></div>
<div class="ttc" id="namespacezypp_1_1str_html_aac915c73ebc6110beaf23ce11096154c"><div class="ttname"><a href="namespacezypp_1_1str.html#aac915c73ebc6110beaf23ce11096154c">zypp::str::regex_error</a></div><div class="ttdeci">Exception regex_error</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8h_source.html#l00054">Regex.h:54</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1regex_html_a54f5b3dc2ef0bb7ac0dbbcc24351002ba919218aec6dfc3c39045a03bc409bf95"><div class="ttname"><a href="classzypp_1_1str_1_1regex.html#a54f5b3dc2ef0bb7ac0dbbcc24351002ba919218aec6dfc3c39045a03bc409bf95">zypp::str::regex::icase</a></div><div class="ttdoc">Do not differentiate case.</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8h_source.html#l00091">Regex.h:91</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1regex_html_a6d68ebfcf9eb753917c904359613808d"><div class="ttname"><a href="classzypp_1_1str_1_1regex.html#a6d68ebfcf9eb753917c904359613808d">zypp::str::regex::m_valid</a></div><div class="ttdeci">bool m_valid</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8h_source.html#l00127">Regex.h:127</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1regex_html_a54f5b3dc2ef0bb7ac0dbbcc24351002b"><div class="ttname"><a href="classzypp_1_1str_1_1regex.html#a54f5b3dc2ef0bb7ac0dbbcc24351002b">zypp::str::regex::RegFlags</a></div><div class="ttdeci">RegFlags</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8h_source.html#l00090">Regex.h:90</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1regex_html_acef16b09deccf27ab84645dd1f7ab237"><div class="ttname"><a href="classzypp_1_1str_1_1regex.html#acef16b09deccf27ab84645dd1f7ab237">zypp::str::regex::get</a></div><div class="ttdeci">regex_t * get()</div><div class="ttdoc">Expert backdoor.</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8h_source.html#l00114">Regex.h:114</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1regex_html_aa53632fa67efaa7cea6bd8ce7eed601d"><div class="ttname"><a href="classzypp_1_1str_1_1regex.html#aa53632fa67efaa7cea6bd8ce7eed601d">zypp::str::regex::operator=</a></div><div class="ttdeci">regex &amp; operator=(const regex &amp;rhs)</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8h_source.html#l00103">Regex.h:103</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1regex_html_a4a2aed7ae332df42564ebec7de30684b"><div class="ttname"><a href="classzypp_1_1str_1_1regex.html#a4a2aed7ae332df42564ebec7de30684b">zypp::str::regex::m_str</a></div><div class="ttdeci">std::string m_str</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8h_source.html#l00124">Regex.h:124</a></div></div>
<div class="ttc" id="namespacezypp_1_1sat_1_1detail_html_ac0d3ca93132eee14b022898f23b49d07"><div class="ttname"><a href="namespacezypp_1_1sat_1_1detail.html#ac0d3ca93132eee14b022898f23b49d07">zypp::sat::detail::size_type</a></div><div class="ttdeci">SolvableIdType size_type</div><div class="ttdef"><b>Definition:</b> <a href="PoolMember_8h_source.html#l00152">PoolMember.h:152</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1regex_html_a12e87c6774cb0b70baf8c156d4d7c069"><div class="ttname"><a href="classzypp_1_1str_1_1regex.html#a12e87c6774cb0b70baf8c156d4d7c069">zypp::str::regex::regex_match</a></div><div class="ttdeci">friend bool regex_match(const char *s, str::smatch &amp;matches, const regex &amp;regex)</div></div>
<div class="ttc" id="classzypp_1_1str_1_1smatch_html"><div class="ttname"><a href="classzypp_1_1str_1_1smatch.html">zypp::str::smatch</a></div><div class="ttdoc">Regular expression match result.</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8h_source.html#l00145">Regex.h:145</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1smatch_html_ad2ce1a53f182279dec39642eca9eef46"><div class="ttname"><a href="classzypp_1_1str_1_1smatch.html#ad2ce1a53f182279dec39642eca9eef46">zypp::str::smatch::match_str</a></div><div class="ttdeci">std::string match_str</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8h_source.html#l00163">Regex.h:163</a></div></div>
<div class="ttc" id="classzypp_1_1Exception_html"><div class="ttname"><a href="classzypp_1_1Exception.html">zypp::Exception</a></div><div class="ttdoc">Base class for Exception.</div><div class="ttdef"><b>Definition:</b> <a href="Exception_8h_source.html#l00145">Exception.h:145</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1regex_html_a54f5b3dc2ef0bb7ac0dbbcc24351002ba8f6d83f297ef1c7bcc58f8d496c1b369"><div class="ttname"><a href="classzypp_1_1str_1_1regex.html#a54f5b3dc2ef0bb7ac0dbbcc24351002ba8f6d83f297ef1c7bcc58f8d496c1b369">zypp::str::regex::match_extended</a></div><div class="ttdoc">Use POSIX Extended Regular Expression syntax when interpreting regex.</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8h_source.html#l00093">Regex.h:93</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1regex_html_a5429880f04d924a68dc9d3c72fe3b65b"><div class="ttname"><a href="classzypp_1_1str_1_1regex.html#a5429880f04d924a68dc9d3c72fe3b65b">zypp::str::regex::assign</a></div><div class="ttdeci">void assign(const std::string &amp;s, int flags=match_extended)</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8cc_source.html#l00029">Regex.cc:29</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1regex_html_aaaa82ba77ee379b35fd6154fb8d5f55b"><div class="ttname"><a href="classzypp_1_1str_1_1regex.html#aaaa82ba77ee379b35fd6154fb8d5f55b">zypp::str::regex::m_flags</a></div><div class="ttdeci">int m_flags</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8h_source.html#l00125">Regex.h:125</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1smatch_html_abf91bc8f9fc68e5968e5f2d090d8d656"><div class="ttname"><a href="classzypp_1_1str_1_1smatch.html#abf91bc8f9fc68e5968e5f2d090d8d656">zypp::str::smatch::operator[]</a></div><div class="ttdeci">std::string operator[](unsigned i) const</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8cc_source.html#l00078">Regex.cc:78</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1regex_html_a5d392bdce8fe34c57e9eb76be4b269fc"><div class="ttname"><a href="classzypp_1_1str_1_1regex.html#a5d392bdce8fe34c57e9eb76be4b269fc">zypp::str::regex::asString</a></div><div class="ttdeci">std::string asString() const</div><div class="ttdoc">string representation of the regular expression</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8h_source.html#l00109">Regex.h:109</a></div></div>
<div class="ttc" id="namespacezypp_1_1str_html_a9144ba9f2723cdd7a421c7d177f69d32"><div class="ttname"><a href="namespacezypp_1_1str.html#a9144ba9f2723cdd7a421c7d177f69d32">zypp::str::regex_match</a></div><div class="ttdeci">bool regex_match(const std::string &amp;s, smatch &amp;matches, const regex &amp;regex)</div><div class="ttdoc">\relates regex \ingroup ZYPP_STR_REGEX \relates regex \ingroup ZYPP_STR_REGEX</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8h_source.html#l00070">Regex.h:70</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1smatch_html_af044ec831804d008c8438acc052ca9ff"><div class="ttname"><a href="classzypp_1_1str_1_1smatch.html#af044ec831804d008c8438acc052ca9ff">zypp::str::smatch::pmatch</a></div><div class="ttdeci">regmatch_t pmatch[12]</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8h_source.html#l00164">Regex.h:164</a></div></div>
<div class="ttc" id="namespacezypp_html"><div class="ttname"><a href="namespacezypp.html">zypp</a></div><div class="ttdoc">Easy-to use interface to the ZYPP dependency resolver.</div><div class="ttdef"><b>Definition:</b> <a href="CodePitfalls_8doc_source.html#l00001">CodePitfalls.doc:1</a></div></div>
<div class="ttc" id="Exception_8h_html"><div class="ttname"><a href="Exception_8h.html">Exception.h</a></div></div>
<div class="ttc" id="classzypp_1_1str_1_1regex_html_a0fb388374ba023a24cfe24cb0d65c8ff"><div class="ttname"><a href="classzypp_1_1str_1_1regex.html#a0fb388374ba023a24cfe24cb0d65c8ff">zypp::str::regex::~regex</a></div><div class="ttdeci">~regex()</div><div class="ttdef"><b>Definition:</b> <a href="Regex_8cc_source.html#l00054">Regex.cc:54</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_c187b43c6f283d9fc95eff3f44ce072a.html">zypp</a></li><li class="navelem"><a class="el" href="dir_76651d3a0256a4372f696a008d71ee69.html">base</a></li><li class="navelem"><a class="el" href="Regex_8h.html">Regex.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
  </ul>
</div>
</body>
</html>