diff --git a/README.md b/README.md index 55517d8..6fb8f02 100644 --- a/README.md +++ b/README.md @@ -391,7 +391,7 @@ import re '\w' == '[a-zA-Z0-9_]' # Also [ª²³…]. Matches an alphanumeric or _. '\s' == '[ \t\n\r\f\v]' # Also [\x1c-\x1f…]. Matches a whitespace. ``` -* **By default, decimal characters and alphanumerics from all alphabets are matched unless `'flags=re.ASCII'` is used. It restricts special sequence matches to the first 128 Unicode characters and also prevents `'\s'` from accepting `'\x1c'`, `'\x1d'`, `'\x1e'` and `'\x1f'` (the so-called information separators that divide text into files, tables, rows and fields).** +* **By default, decimal characters and alphanumerics from all alphabets are matched unless `'flags=re.ASCII'` is used. It restricts special sequence matches to the first 128 Unicode characters and also prevents `'\s'` from accepting `'\x1c'`, `'\x1d'`, `'\x1e'` and `'\x1f'` (non-printable characters that divide text into files, tables, rows and fields, respectively).** * **Use a capital letter for negation (all non-ASCII characters will be matched when used in combination with ASCII flag).** diff --git a/index.html b/index.html index 53ccff7..4b5fd70 100644 --- a/index.html +++ b/index.html @@ -360,7 +360,7 @@ Point(x=1, y=2

#Format

<str> = f'{<el_1>}, {<el_2>}'            # Curly brackets can also contain expressions.