[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ajuda com expressão



On Sun, May 29, 2016 at 10:47:42AM -0300, Herbert Fortes wrote:
> Olá,
> 
> Estou participando de uma tradução de um
> texto sobre expressões regulares em Python.
> 
> Alguma sugestão para 'byte string patterns' ?
> 
> Some of the special sequences beginning with '\' represent predefined sets
> of characters that are often useful, such as the set of digits, the set of
> letters, or the set of anything that isn’t whitespace. The following 
> predefined special sequences are a subset of those available. The equivalent 
> classes are for byte string patterns. For a complete list of sequences and  <-- AQUI
> expanded class definitions for Unicode string patterns, see the last part of 
> Regular Expression Syntax.
> 
> O parágrafo usa muito a palavra 'set'. Aqui[0]
> uma definição de 'byte'.
> 
> [0] - http://www.dictionary.com/browse/byte?s=t

Herbert, eu deixaria "byte string" sem tradução. Algo como:

    As classes equivalentes são para padrões de "byte string".

Ou, talvez:

    As classes equivalentes são para padrões de sequências de bytes.

Considerando que "byte string" se refere a um tipo de dados do Python,
assim como "Unicode string", e quem estiver lendo vai entender melhor
se ficar em inglês (se eu não tiver interpretado errado).

Attachment: signature.asc
Description: Digital signature


Reply to: