why is UNICODE space after literal markup (``) invalid, but after emphasis(*) or strong(**) ok?

log4yes <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
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?

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.