File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -324,9 +324,6 @@ import re
324
324
< str > = < Match> .group() # Whole match.
325
325
< str > = < Match> .group(1 ) # Part in first bracket.
326
326
< tuple > = < Match> .groups() # All bracketed parts.
327
- ```
328
-
329
- ``` python
330
327
< int > = < Match> .start() # Start index of a match.
331
328
< int > = < Match> .end() # Exclusive end index of a match.
332
329
```
Original file line number Diff line number Diff line change @@ -419,8 +419,7 @@ <h3 id="matchobject">Match Object</h3>
419
419
< pre > < code class ="python language-python hljs "> <str> = <Match>.group() < span class ="hljs-comment "> # Whole match.</ span >
420
420
<str> = <Match>.group(< span class ="hljs-number "> 1</ span > ) < span class ="hljs-comment "> # Part in first bracket.</ span >
421
421
<tuple> = <Match>.groups() < span class ="hljs-comment "> # All bracketed parts.</ span >
422
- </ code > </ pre >
423
- < pre > < code class ="python language-python hljs "> <int> = <Match>.start() < span class ="hljs-comment "> # Start index of a match.</ span >
422
+ <int> = <Match>.start() < span class ="hljs-comment "> # Start index of a match.</ span >
424
423
<int> = <Match>.end() < span class ="hljs-comment "> # Exclusive end index of a match.</ span >
425
424
</ code > </ pre >
426
425
< h3 id ="specialsequences "> Special Sequences</ h3 >
You can’t perform that action at this time.
0 commit comments