diff --git a/README.md b/README.md index 322bac0..6fc45a7 100644 --- a/README.md +++ b/README.md @@ -362,8 +362,7 @@ import re * **Search() and match() return None if they can't find a match.** * **Argument `'flags=re.IGNORECASE'` can be used with all functions.** * **Argument `'flags=re.MULTILINE'` makes `'^'` and `'$'` match the start/end of each line.** -* **Argument `'flags=re.DOTALL'` makes dot also match the newline.** -* **Only character that is considered a line separator is `'\n'`.** +* **Argument `'flags=re.DOTALL'` makes dot also accept the `'\n'`.** * **Use `r'\1'` or `'\\1'` for backreference.** * **Add `'?'` after an operator to make it non-greedy.** diff --git a/index.html b/index.html index 728d646..997e5b0 100644 --- a/index.html +++ b/index.html @@ -469,8 +469,7 @@ to_exclusive = <range>.stop
  • Search() and match() return None if they can't find a match.
  • Argument 'flags=re.IGNORECASE' can be used with all functions.
  • Argument 'flags=re.MULTILINE' makes '^' and '$' match the start/end of each line.
  • -
  • Argument 'flags=re.DOTALL' makes dot also match the newline.
  • -
  • Only character that is considered a line separator is '\n'.
  • +
  • Argument 'flags=re.DOTALL' makes dot also accept the '\n'.
  • Use r'\1' or '\\1' for backreference.
  • Add '?' after an operator to make it non-greedy.