The same happens in Portuguese version ... the regex fails because ver returns "Versão" ...

[]'s

On Mon, Jul 6, 2009 at 7:54 AM, Ezio Melotti <report@bugs.python.org> wrote:

Ezio Melotti <ezio.melotti@gmail.com> added the comment:

Won't that fail with Windows versions in Japanese, Chinese, Arab and
similar?
If 'Version' is translated in all the languages as a single word and
it's between whitespaces (or even between a [ and a space), \S+ should
be safe enough, otherwise \w+ with the re.U flag should work.

----------

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue3410>
_______________________________________