- Notifications
You must be signed in to change notification settings - Fork395
Traduccion re#361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Traduccion re#361
Changes from1 commit
Commits
Show all changes
112 commits Select commitHold shift + click to select a range
d878513
Traducido archivo library/re.po
MiguelHeCa65da0f1
Traduciendo parrafos 5 y 6. Revisar terminos backslash y raw string
MiguelHeCa85c3399
Correcting paragraphs 5 and 6 on backslash and raw strings
MiguelHeCae3f0863
Updating translations
MiguelHeCa9a99e09
Starting modifiers' translation
MiguelHeCa3ff4a21
Correcting terms for match, escape, and adding lines
MiguelHeCab3f042a
Translating up to 'A|B' section
MiguelHeCa87558f9
Translating up to named groups
MiguelHeCa94d7c50
Translating up to character boundaries
MiguelHeCa9cb3f4a
Translating \B
MiguelHeCaec59de9
Translating \d
MiguelHeCa10a2da7
Adding 8bit \d cases
MiguelHeCa7629d21
Translating \D
MiguelHeCa4db8638
Translating \s
MiguelHeCafa3ad1c
Translating \S
MiguelHeCa3eca4c6
Translating \w
MiguelHeCab912c10
Translating \W
MiguelHeCaf95b824
Translating \Z
MiguelHeCab6fbb9a
Translating parser
MiguelHeCaf35e752
Translating \u \U \N sequences
MiguelHeCaee26649
Translating notes on octals
MiguelHeCa9ef5cb7
Translating more \u \U
MiguelHeCa44a9b88
Translating unkown escapes with \ and ASCII
MiguelHeCa39ecfc1
Translating \N{name} escape sequence
MiguelHeCab6052a0
Translating Module Contents
MiguelHeCa078ebb7
Translating first paragraph of module contents
MiguelHeCa799a70b
Flag constants
MiguelHeCa699bf9c
re.compile
MiguelHeCa1e0ef48
re.A re.ASCII
MiguelHeCaf645baf
re.debug
MiguelHeCaec27e45
re.L re.LOCALE
MiguelHeCa6a5ef56
Starting Regular Expression Examples section
MiguelHeCa6628439
Checking for a pair
MiguelHeCab235327
Simulating scanf
MiguelHeCabaa7fd9
search vs match
MiguelHeCa78af4c9
Making a Phonebook
MiguelHeCa724260d
Text munging
MiguelHeCa13525a6
Finding all Adverbs
MiguelHeCa4fbb44f
Finding all adverbs and their position
MiguelHeCad821b62
Raw String Notation
MiguelHeCa2eb5583
Writing a Tokenizer
MiguelHeCa8fb84a2
re.L re.LOCALE
MiguelHeCa3b546f9
re.M re.MULTILINE
MiguelHeCa55e7d9f
re.S re.DOTALL
MiguelHeCad489011
re.X re.VERBOSE
MiguelHeCad169cb2
re.search
MiguelHeCae7457cd
re.match
MiguelHeCa25eebd4
re.match+
MiguelHeCae618983
re.fullmatch
MiguelHeCa1da9f11
Correcting writing style in re.search and re.match
MiguelHeCa4e79cc9
re.split
MiguelHeCad8def4e
re.findall
MiguelHeCac83f102
re.finditer
MiguelHeCadb2a9fe
re.sub
MiguelHeCa45f6c5c
re.subn
MiguelHeCae3663f3
re.escape
MiguelHeCaf5984fd
re.purge
MiguelHeCa1bd1fca
exception re.error
MiguelHeCa0de0ef2
Starting regular expression objects section
MiguelHeCa44b1564
pattern.search
MiguelHeCadfc03db
Changing terms to keep consistency
MiguelHeCa424dd63
pattern.match
MiguelHeCac9bad43
pattern.fullmatch
MiguelHeCa37120fb
pattern.split.findall.finditer.sub.subn
MiguelHeCa16df9fb
pattern.groups.groupindex.pattern
MiguelHeCafba2196
Match Objects
MiguelHeCa410abac
match.re.string
MiguelHeCa69fd6f8
match.expand
MiguelHeCa028efd3
match.group
MiguelHeCa2e341ca
match.__getitem__
MiguelHeCa550771d
match.groups
MiguelHeCaf14763a
match.groupdict.start.end
MiguelHeCa4a52083
match.span
MiguelHeCa49fb49c
match.pos.end.lastindex.lastgroup
MiguelHeCac00f7e3
finishing translation
MiguelHeCa8941366
Fixing re.rst:518 by removing extra grave accent
MiguelHeCa5d42024
Merge branch '3.8' into traduccion-re
MiguelHeCabf85e3b
Merge pull request #1 from python/3.8
MiguelHeCaf2ccc39
Merge remote-tracking branch 'upstream/3.8' into 3.8
MiguelHeCab228942
Merge branch '3.8' into traduccion-re
MiguelHeCa45186d1
Corrections to re.po and additions to dict
MiguelHeCac13b950
Merge remote-tracking branch 'upstream/3.8' into 3.8
MiguelHeCa0a9ddf7
Merge branch '3.8' into traduccion-re
clacri502abfc
Update library/re.po compiled regex
MiguelHeCaef4eaa9
Update dict
MiguelHeCafcb70e8
Update dict
MiguelHeCa214367f
Update library/re.po
MiguelHeCa7403079
Update library/re.po
MiguelHeCa6d5d2ce
Update library/re.po
MiguelHeCac94dc35
Update library/re.po
MiguelHeCa07e08f0
Update library/re.po
MiguelHeCaca800f6
Update library/re.po
MiguelHeCaffb1f2c
Update library/re.po
MiguelHeCa5bef70a
Merge remote-tracking branch 'upstream/3.8' into 3.8
MiguelHeCa1f2dc69
Solving merge conflicts in dict
MiguelHeCac37b79b
Fixing mistranslation of character
MiguelHeCa9075e14
Fixing locale mistranslation
MiguelHeCa9751c5c
Putting words quote and raw between asterisks
MiguelHeCa308f012
Fixing merge conflicts
MiguelHeCaa24302d
Update library/re.po
MiguelHeCa2193b78
Update library/re.po
MiguelHeCa931f4fb
Update library/re.po
MiguelHeCa5b79c4a
Update library/re.po
MiguelHeCa3904554
Update library/re.po
MiguelHeCa4d88254
Update library/re.po
MiguelHeCa517334d
Fixing untranslated references
MiguelHeCafc76177
Changing regex objects translation
MiguelHeCaf3346a7
Update library/re.po
MiguelHeCa6c7ca7d
Update library/re.po
MiguelHeCae37b064
Passing powrap
MiguelHeCad103323
Amends to match objects translation
MiguelHeCa536400f
Merge branch '3.8' into traduccion-re
MiguelHeCaFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
re.sub
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commitdb2a9fe35fcd43dd59b4b77c29640105c7ed7ec6
There are no files selected for viewing
40 changes: 38 additions & 2 deletionslibrary/re.po
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -11,7 +11,7 @@ msgstr "" | ||
"Project-Id-Version: Python 3.8\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2020-05-05 12:54+0200\n" | ||
"PO-Revision-Date: 2020-05-2416:28+0200\n" | ||
"Language-Team: python-doc-es\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
@@ -1594,17 +1594,32 @@ msgid "" | ||
"\\6``, are replaced with the substring matched by group 6 in the pattern. " | ||
"For example::" | ||
msgstr "" | ||
"Devuelve la cadena obtenida reemplazando las ocurrencias no superpuestas del " | ||
"*pattern* (patrón) en la *string* (cadena) por el reemplazo de *repl*. Si " | ||
"el patrón no se encuentra, se devuelve *string* sin cambios. *repl* puede " | ||
"ser una cadena o una función; si es una cadena, cualquier barra inversa " | ||
"escapada en ella es procesada. Es decir, ``\\n`` se convierte en un " | ||
"carácter de una sola línea nueva, ``\\r`` se convierte en un retorno de " | ||
"carro, y así sucesivamente. Los escapes desconocidos de las letras ASCII se " | ||
"reservan para un uso futuro y se tratan como errores. Otros escapes " | ||
"desconocidos como ``\\&`` no se utilizan. Las referencias inversas, como ``" | ||
"\\6``, se reemplazan por la subcadena que corresponde al grupo 6 del patrón. " | ||
"Por ejemplo::" | ||
#: ../Doc/library/re.rst:865 | ||
msgid "" | ||
"If *repl* is a function, it is called for every non-overlapping occurrence " | ||
"of *pattern*. The function takes a single :ref:`match object <match-" | ||
"objects>` argument, and returns the replacement string. For example::" | ||
msgstr "" | ||
"Si *repl* es una función, se llama para cada ocurrencia no superpuesta de " | ||
"*pattern*. La función toma un solo argumento :ref:`match object <match-" | ||
"objects>`, y devuelve la cadena de sustitución. Por ejemplo::" | ||
#: ../Doc/library/re.rst:877 | ||
msgid "The pattern may be a string or a :ref:`pattern object <re-objects>`." | ||
msgstr "" | ||
"El patrón puede ser una cadena o un :ref:`pattern object <re-objects>`." | ||
MiguelHeCa marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
#: ../Doc/library/re.rst:879 | ||
msgid "" | ||
@@ -1614,6 +1629,12 @@ msgid "" | ||
"only when not adjacent to a previous empty match, so ``sub('x*', '-', " | ||
"'abxd')`` returns ``'-a-b--d-'``." | ||
msgstr "" | ||
"El argumento opcional *count* (\"recuento\") es el número máximo de " | ||
"ocurrencias de patrones a ser reemplazados; *count* debe ser un número " | ||
"entero no negativo. Si se omite o es cero, todas las ocurrencias serán " | ||
"reemplazadas. Las coincidencias vacías del patrón se reemplazan sólo cuando " | ||
"no están adyacentes a una coincidencia vacía anterior, así que ``sub('x*', " | ||
"'-', 'abxd')`` devuelve ``'-a-b--d-'``." | ||
#: ../Doc/library/re.rst:887 | ||
msgid "" | ||
@@ -1627,29 +1648,44 @@ msgid "" | ||
"backreference ``\\g<0>`` substitutes in the entire substring matched by the " | ||
"RE." | ||
msgstr "" | ||
"En los argumentos *repl* de tipo cadena, además de los escapes de caracteres " | ||
"y las referencias inversas descritas anteriormente, ``\\g<name>`` usará la " | ||
"subcadena coincidente con el grupo llamado ``name``, como se define en la " | ||
"sintaxis ``(?P<name>...)``. ``\\g<number>`` utiliza el número de grupo " | ||
"correspondiente; ``\\g<2>`` es por lo tanto equivalente a ``\\2``, pero no " | ||
"es ambiguo en un reemplazo como sucede con ``\\g<2>0``. ``\\20`` se " | ||
"interpretaría como una referencia al grupo 20, no como una referencia al " | ||
"grupo 2 seguido del carácter literal ``'0'``. La referencia inversa ``" | ||
"\\g<0>`` sustituye en toda la subcadena coincidente con la RE." | ||
#: ../Doc/library/re.rst:900 ../Doc/library/re.rst:924 | ||
#: ../Doc/library/re.rst:1155 | ||
msgid "Unmatched groups are replaced with an empty string." | ||
msgstr "Los grupos no coincidentes son reemplazados por una cadena vacía." | ||
#: ../Doc/library/re.rst:903 | ||
msgid "" | ||
"Unknown escapes in *pattern* consisting of ``'\\'`` and an ASCII letter now " | ||
"are errors." | ||
msgstr "" | ||
"Los escapes desconocidos en el *pattern* que consisten en ``'\\'`` y una " | ||
"letra ASCII ahora son errores." | ||
#: ../Doc/library/re.rst:907 | ||
msgid "" | ||
"Unknown escapes in *repl* consisting of ``'\\'`` and an ASCII letter now are " | ||
"errors." | ||
msgstr "" | ||
"Los escapes desconocidos en *repl* que consisten en ``'\\'`` y una letra " | ||
"ASCII ahora son errores." | ||
#: ../Doc/library/re.rst:911 | ||
msgid "" | ||
"Empty matches for the pattern are replaced when adjacent to a previous non-" | ||
"empty match." | ||
msgstr "" | ||
"Las coincidencias vacías para el patrón se reemplazan cuando están " | ||
"adyacentes a una coincidencia anterior no vacía." | ||
#: ../Doc/library/re.rst:918 | ||
msgid "" | ||
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.