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
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```
Original file line number Diff line number Diff line change @@ -419,8 +419,7 @@ <h3 id="matchobject">Match Object</h3>
419419< pre > < code class ="python language-python hljs "> <str> = <Match>.group() < span class ="hljs-comment "> # Whole match.</ span >
420420<str> = <Match>.group(< span class ="hljs-number "> 1</ span > ) < span class ="hljs-comment "> # Part in first bracket.</ span >
421421<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 >
424423<int> = <Match>.end() < span class ="hljs-comment "> # Exclusive end index of a match.</ span >
425424</ code > </ pre >
426425< h3 id ="specialsequences "> Special Sequences</ h3 >
You can’t perform that action at this time.
0 commit comments