From: log4yes <lo...@gm...> - 2016-12-19 09:24:17
|
Hi, does anyone know that? For example, r"**a**\u2002b" is valid but r"``a``\u2002b" will generate a warnning message. \u2002 is a whitespace. I've checked the source code. Docutils uses regular expression to search the end of inline markups. It compiles STRONG regex with re.UNICODE option, so it matches the UNICODE space. But why doesn't it use the same option with LITERAL regex? Is here a mistake of implementation? Is there something specially different? |