Skip to content

Commit 28240a2

Browse files
committed
Regex
1 parent 67f420d commit 28240a2

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,6 @@ import re
324324
<str> = <Match>.group() # Whole match.
325325
<str> = <Match>.group(1) # Part in first bracket.
326326
<tuple> = <Match>.groups() # All bracketed parts.
327-
```
328-
329-
```python
330327
<int> = <Match>.start() # Start index of a match.
331328
<int> = <Match>.end() # Exclusive end index of a match.
332329
```

index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,8 +419,7 @@ <h3 id="matchobject">Match Object</h3>
419419
<pre><code class="python language-python hljs">&lt;str&gt; = &lt;Match&gt;.group() <span class="hljs-comment"># Whole match.</span>
420420
&lt;str&gt; = &lt;Match&gt;.group(<span class="hljs-number">1</span>) <span class="hljs-comment"># Part in first bracket.</span>
421421
&lt;tuple&gt; = &lt;Match&gt;.groups() <span class="hljs-comment"># All bracketed parts.</span>
422-
</code></pre>
423-
<pre><code class="python language-python hljs">&lt;int&gt; = &lt;Match&gt;.start() <span class="hljs-comment"># Start index of a match.</span>
422+
&lt;int&gt; = &lt;Match&gt;.start() <span class="hljs-comment"># Start index of a match.</span>
424423
&lt;int&gt; = &lt;Match&gt;.end() <span class="hljs-comment"># Exclusive end index of a match.</span>
425424
</code></pre>
426425
<h3 id="specialsequences">Special Sequences</h3>

0 commit comments

Comments
 (0)