--- re.txt 2013-10-05 18:49:36.439353272 +0530 +++ re_changed.txt 2013-10-05 19:04:48.203387322 +0530 @@ -223,7 +223,8 @@ letters set the corresponding flags: :const:`re.A` (ASCII-only matching), :const:`re.I` (ignore case), :const:`re.L` (locale dependent), :const:`re.M` (multi-line), :const:`re.S` (dot matches all), - and :const:`re.X` (verbose), for the entire regular expression. (The + :const:`re.U` (Unicode Matching), and :const:`re.X` (verbose), + for the entire regular expression. (The flags are described in :ref:`contents-of-module-re`.) This is useful if you wish to include the flags as part of the regular expression, instead of passing a *flag* argument to the @@ -482,6 +483,7 @@ perform ASCII-only matching instead of full Unicode matching. This is only meaningful for Unicode patterns, and is ignored for byte patterns. + U Note that for backward compatibility, the :const:`re.U` flag still exists (as well as its synonym :const:`re.UNICODE` and its embedded counterpart ``(?u)``), but these are redundant in Python 3 since