diff --git a/README.md b/README.md index 2b338bc..c6723d8 100644 --- a/README.md +++ b/README.md @@ -357,7 +357,7 @@ import re ### Match Object ```python - = .group() # Whole match. + = .group() # Whole match. Also group(0). = .group(1) # Part in first bracket. = .groups() # All bracketed parts. = .start() # Start index of a match. diff --git a/index.html b/index.html index edc95a6..b775f91 100644 --- a/index.html +++ b/index.html @@ -447,7 +447,7 @@ to_exclusive = <range>.stop
  • Use '?' to make an operator non-greedy.
  • Match Object

    -
    <str>   = <Match>.group()   # Whole match.
    +
    <str>   = <Match>.group()   # Whole match. Also group(0).
     <str>   = <Match>.group(1)  # Part in first bracket.
     <tuple> = <Match>.groups()  # All bracketed parts.
     <int>   = <Match>.start()   # Start index of a match.