diff --git a/README.md b/README.md index e3c16f2..fec5ad2 100644 --- a/README.md +++ b/README.md @@ -373,7 +373,7 @@ import re ### Special Sequences * **By default digits, whitespaces and alphanumerics from all alphabets are matched, unless `'flags=re.ASCII'` argument is used.** -* **Use capital letters for negation.** +* **Use capital letter for negation.** ```python '\d' == '[0-9]' # Digit '\s' == '[ \t\n\r\f\v]' # Whitespace @@ -652,10 +652,10 @@ from dateutil.tz import UTC, tzlocal, gettz ### Arithmetics ```python - = - - = ± - = ± - = */ + = - + = ± + = ± + = * ``` diff --git a/index.html b/index.html index 3c1c7e8..bf34912 100644 --- a/index.html +++ b/index.html @@ -476,7 +476,7 @@ to_exclusive = <range>.stop

Special Sequences

  • By default digits, whitespaces and alphanumerics from all alphabets are matched, unless 'flags=re.ASCII' argument is used.
  • -
  • Use capital letters for negation.
  • +
  • Use capital letter for negation.
'\d' == '[0-9]'                                # Digit
 '\s' == '[ \t\n\r\f\v]'                        # Whitespace
 '\w' == '[a-zA-Z0-9_]'                         # Alphanumeric
@@ -696,10 +696,10 @@ shuffle(<list>)
 
  • When parsing, '%z' also accepts '±HH:MM'.
  • For abbreviated weekday and month use '%a' and '%b'.
  • -

    Arithmetics

    <TD>     = <D/DT> -  <D/DT>
    -<D/DT>   = <D/DT> ±  <TD>
    -<TD>     = <TD>   ±  <TD>
    -<TD>     = <TD>   */ <real>
    +

    Arithmetics

    <TD>     = <D/DT> - <D/DT>
    +<D/DT>   = <D/DT> ± <TD>
    +<TD>     = <TD>   ± <TD>
    +<TD>     = <TD>   * <real>
     

    #Arguments

    Inside Function Call

    <function>(<positional_args>)                  # f(0, 0)