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 
&quot;Versão&quot; ...<br><br>[]&#39;s<br><br><div class="gmail_quote">On Mon, 
Jul 6, 2009 at 7:54 AM, Ezio Melotti <span dir="ltr">&lt;<a 
href="mailto:rep...@bugs.python.org";>rep...@bugs.python.org</a>&gt;</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 &lt;<a 
href="mailto:ezio.melo...@gmail.com";>ezio.melo...@gmail.com</a>&gt; added the 
comment:<br>
<br>
</div>Won&#39;t that fail with Windows versions in Japanese, Chinese, Arab 
and<br>
similar?<br>
If &#39;Version&#39; is translated in all the languages as a single word and<br>
it&#39;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 &lt;<a 
href="mailto:rep...@bugs.python.org";>rep...@bugs.python.org</a>&gt;<br>
&lt;<a href="http://bugs.python.org/issue3410"; 
target="_blank">http://bugs.python.org/issue3410</a>&gt;<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

Reply via email to