@@ -11,7 +11,7 @@ msgstr ""
11
11
"Project-Id-Version : Python 3.8\n "
12
12
"Report-Msgid-Bugs-To : \n "
13
13
"POT-Creation-Date : 2020-05-05 12:54+0200\n "
14
- "PO-Revision-Date : 2020-05-23 22:55 +0200\n "
14
+ "PO-Revision-Date : 2020-05-23 23:04 +0200\n "
15
15
"Language-Team : python-doc-es\n "
16
16
"MIME-Version : 1.0\n "
17
17
"Content-Type : text/plain; charset=UTF-8\n "
@@ -1924,13 +1924,15 @@ msgstr "Ejemplos de expresiones regulares"
1924
1924
1925
1925
#: ../Doc/library/re.rst:1342
1926
1926
msgid "Checking for a Pair"
1927
- msgstr ""
1927
+ msgstr "Buscando un par "
1928
1928
1929
1929
#: ../Doc/library/re.rst:1344
1930
1930
msgid ""
1931
1931
"In this example, we'll use the following helper function to display match "
1932
1932
"objects a little more gracefully::"
1933
1933
msgstr ""
1934
+ "En este ejemplo, se utilizará la siguiente función de ayuda para mostrar los "
1935
+ "objetos de coincidencia con un poco más de gracia::"
1934
1936
1935
1937
#: ../Doc/library/re.rst:1352
1936
1938
msgid ""
@@ -1939,23 +1941,35 @@ msgid ""
1939
1941
"ace, \" k\" for king, \" q\" for queen, \" j\" for jack, \" t\" for 10, and "
1940
1942
"\" 2\" through \" 9\" representing the card with that value."
1941
1943
msgstr ""
1944
+ "Supongamos que se está escribiendo un programa de póquer en el que la mano "
1945
+ "de un jugador se representa como una cadena de 5 caracteres en la que cada "
1946
+ "carácter representa una carta, \" a\" para el as, \" k\" para el rey, \" q\" "
1947
+ "para la reina, \" j\" para la jota, \" t\" para el 10, y del \" 2\" al \" 9\" "
1948
+ "representando la carta con ese valor."
1942
1949
1943
1950
#: ../Doc/library/re.rst:1357
1944
1951
msgid "To see if a given string is a valid hand, one could do the following::"
1945
1952
msgstr ""
1953
+ "Para ver si una cadena dada es una mano válida, se podría hacer lo "
1954
+ "siguiente::"
1946
1955
1947
1956
#: ../Doc/library/re.rst:1367
1948
1957
msgid ""
1949
1958
"That last hand, ``\" 727ak\" ``, contained a pair, or two of the same valued "
1950
1959
"cards. To match this with a regular expression, one could use backreferences "
1951
1960
"as such::"
1952
1961
msgstr ""
1962
+ "Esa última mano, ``\" 727ak\" ``, contenía un par, o dos de las mismas cartas "
1963
+ "de valor. Para igualar esto con una expresión regular, se podrían usar "
1964
+ "referencias inversas como tales::"
1953
1965
1954
1966
#: ../Doc/library/re.rst:1377
1955
1967
msgid ""
1956
1968
"To find out what card the pair consists of, one could use the :meth:`~Match."
1957
1969
"group` method of the match object in the following manner::"
1958
1970
msgstr ""
1971
+ "Para averiguar en qué carta consiste el par, se podría utilizar el método :"
1972
+ "meth:`~Match.group` del objeto de coincidencia de la siguiente manera::"
1959
1973
1960
1974
#: ../Doc/library/re.rst:1396
1961
1975
msgid "Simulating scanf()"
0 commit comments