Felipe Portella <fel...@portella.com.br> added the comment:
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 <rep...@bugs.python.org> wrote:
>
> Ezio Melotti <ezio.melo...@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 <rep...@bugs.python.org>
> <http://bugs.python.org/issue3410>
> _______________________________________
>
----------
title: platform.version() don't work as expected in Vista in portuguese ->
platform.version() don't work as expected in Vista in portuguese
Added file: http://bugs.python.org/file14457/unnamed
_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue3410>
_______________________________________
The same happens in Portuguese version ... the regex fails because ver returns
"Versão" ...<br><br>[]'s<br><br><div class="gmail_quote">On Mon,
Jul 6, 2009 at 7:54 AM, Ezio Melotti <span dir="ltr"><<a
href="mailto:rep...@bugs.python.org">rep...@bugs.python.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204,
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
Ezio Melotti <<a
href="mailto:ezio.melo...@gmail.com">ezio.melo...@gmail.com</a>> added the
comment:<br>
<br>
</div>Won't that fail with Windows versions in Japanese, Chinese, Arab
and<br>
similar?<br>
If 'Version' is translated in all the languages as a single word and<br>
it's between whitespaces (or even between a [ and a space), \S+ should<br>
be safe enough, otherwise \w+ with the re.U flag should work.<br>
<br>
----------<br>
<div><div></div><div class="h5"><br>
_______________________________________<br>
Python tracker <<a
href="mailto:rep...@bugs.python.org">rep...@bugs.python.org</a>><br>
<<a href="http://bugs.python.org/issue3410"
target="_blank">http://bugs.python.org/issue3410</a>><br>
_______________________________________<br>
</div></div></blockquote></div><br>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com