]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
mention limitation of \N sequences to Unicode patterns
authorJonathan Eunice <jonathan.eunice@gmail.com>
Sat, 17 Jun 2017 16:08:29 +0000 (12:08 -0400)
committerJonathan Eunice <jonathan.eunice@gmail.com>
Sat, 17 Jun 2017 16:08:29 +0000 (12:08 -0400)
Doc/library/re.rst

index 6a0bbd328541d41ff8b3c2d5b6926ce54e4604a0..94a6acffc92d73cf8b980b66d66dfaa7c3180e95 100644 (file)
@@ -450,7 +450,7 @@ accepted by the regular expression parser::
 (Note that ``\b`` is used to represent word boundaries, and means "backspace"
 only inside character classes.)
 
-``'\u'`` and ``'\U'`` escape sequences are only recognized in Unicode
+``'\u'``, ``'\U'``, and ``'\N{name}'`` escape sequences are only recognized in Unicode
 patterns.  In bytes patterns they are not treated specially.
 
 Octal escapes are included in a limited form.  If the first digit is a 0, or if