|
|
@ -419,8 +419,7 @@ Point(x=<span class="hljs-number">1</span>, y=<span class="hljs-number">2</span> |
|
|
|
<pre><code class="python language-python hljs"><str> = <Match>.group() <span class="hljs-comment"># Whole match.</span> |
|
|
|
<str> = <Match>.group(<span class="hljs-number">1</span>) <span class="hljs-comment"># Part in first bracket.</span> |
|
|
|
<tuple> = <Match>.groups() <span class="hljs-comment"># All bracketed parts.</span> |
|
|
|
</code></pre> |
|
|
|
<pre><code class="python language-python hljs"><int> = <Match>.start() <span class="hljs-comment"># Start index of a match.</span> |
|
|
|
<int> = <Match>.start() <span class="hljs-comment"># Start index of a match.</span> |
|
|
|
<int> = <Match>.end() <span class="hljs-comment"># Exclusive end index of a match.</span> |
|
|
|
</code></pre> |
|
|
|
<h3 id="specialsequences">Special Sequences</h3> |
|
|
|