@@ -6,14 +6,14 @@ msgstr ""
66"Project-Id-Version : Python 3\n "
77"Report-Msgid-Bugs-To : \n "
88"POT-Creation-Date : 2022-04-05 10:05+0200\n "
9- "PO-Revision-Date : 2021-12-11 16:43+0100 \n "
9+ "PO-Revision-Date : 2022-05-12 09:34+0200 \n "
1010"Last-Translator : Nabil Bendafi <nabil@bendafi.fr>\n "
1111"Language-Team : FRENCH <traductions@lists.afpy.org>\n "
1212"Language : fr\n "
1313"MIME-Version : 1.0\n "
1414"Content-Type : text/plain; charset=UTF-8\n "
1515"Content-Transfer-Encoding : 8bit\n "
16- "X-Generator : Poedit 2.2.3 \n "
16+ "X-Generator : Poedit 3.0.1 \n "
1717
1818#: howto/regex.rst:5
1919msgid "Regular Expression HOWTO"
@@ -198,17 +198,17 @@ msgstr ""
198198"contient que des lettres en minuscules, la RE est ``[a-z]``."
199199
200200#: howto/regex.rst:92
201- #, fuzzy
202201msgid ""
203202"Metacharacters (except ``\\ ``) are not active inside classes. For example, "
204203"``[akm$]`` will match any of the characters ``'a'``, ``'k'``, ``'m'``, or "
205204"``'$'``; ``'$'`` is usually a metacharacter, but inside a character class "
206205"it's stripped of its special nature."
207206msgstr ""
208- "Les métacaractères ne sont pas actifs dans les classes. Par exemple, "
209- "``[akm$]`` correspond à n'importe quel caractère parmi ``'a'``, ``'k'``, "
210- "``'m'`` ou ``'$'`` ; ``'$'`` est habituellement un métacaractère mais dans "
211- "une classe de caractères, il est dépourvu de sa signification spéciale."
207+ "Les métacaractères (à l’exception de ``\\ ``) ne sont pas actifs dans les "
208+ "classes. Par exemple, ``[akm$]`` correspond à n'importe quel caractère parmi "
209+ "``'a'``, ``'k'``, ``'m'`` ou ``'$'`` ; ``'$'`` est habituellement un "
210+ "métacaractère mais dans une classe de caractères, il est dépourvu de sa "
211+ "signification spéciale."
212212
213213#: howto/regex.rst:97
214214msgid ""
@@ -271,9 +271,9 @@ msgstr ""
271271"équivalent à la classe ``[a-zA-Z0-9_]``. Si l'expression régulière est une "
272272"chaîne de caractères, ``\\ w`` correspond à tous les caractères identifiés "
273273"comme lettre dans la base de données Unicode fournie par le module :mod:"
274- "`unicodedata`. Vous pouvez utiliser la définition plus restrictive de "
275- "`` \\ w`` dans un motif exprimé en chaîne de caractères en spécifiant "
276- "l'option : const:`re.ASCII` lors de la compilation de l'expression régulière."
274+ "`unicodedata`. Vous pouvez utiliser la définition plus restrictive de `` "
275+ "\\ w`` dans un motif exprimé en chaîne de caractères en spécifiant l'option : "
276+ "const:`re.ASCII` lors de la compilation de l'expression régulière."
277277
278278#: howto/regex.rst:123
279279msgid ""
@@ -318,8 +318,8 @@ msgstr "``\\s``"
318318
319319#: howto/regex.rst:137
320320msgid ""
321- "Matches any whitespace character; this is equivalent to the class "
322- "``[ \\ t \\ n \\ r\\ f\\ v]``."
321+ "Matches any whitespace character; this is equivalent to the class ``[ \\ t \\ n "
322+ "\\ r\\ f\\ v]``."
323323msgstr ""
324324"Correspond à n'importe quel caractère « blanc » ; équivalent à la classe "
325325"``[ \\ t\\ n\\ r\\ f\\ v]``."
@@ -1193,8 +1193,8 @@ msgid ""
11931193"Makes several escapes like ``\\ w``, ``\\ b``, ``\\ s`` and ``\\ d`` match only "
11941194"on ASCII characters with the respective property."
11951195msgstr ""
1196- "Transforme plusieurs échappements tels que ``\\ w``, ``\\ b``, ``\\ s`` et "
1197- "`` \\ d`` de manière à ce qu'ils ne correspondent qu'à des caractères ASCII "
1196+ "Transforme plusieurs échappements tels que ``\\ w``, ``\\ b``, ``\\ s`` et `` "
1197+ "\\ d`` de manière à ce qu'ils ne correspondent qu'à des caractères ASCII "
11981198"ayant la propriété demandée."
11991199
12001200#: howto/regex.rst:543
@@ -1254,8 +1254,8 @@ msgid ""
12541254"z]`` or ``[A-Z]`` are used in combination with the :const:`IGNORECASE` flag, "
12551255"they will match the 52 ASCII letters and 4 additional non-ASCII letters: "
12561256"'İ' (U+0130, Latin capital letter I with dot above), 'ı' (U+0131, Latin "
1257- "small letter dotless i), 'ſ' (U+017F, Latin small letter long s) and "
1258- "'K' (U +212A, Kelvin sign). ``Spam`` will match ``'Spam'``, ``'spam'``, "
1257+ "small letter dotless i), 'ſ' (U+017F, Latin small letter long s) and 'K' (U "
1258+ "+212A, Kelvin sign). ``Spam`` will match ``'Spam'``, ``'spam'``, "
12591259"``'spAM'``, or ``'ſpam'`` (the latter is matched only in Unicode mode). This "
12601260"lowercasing doesn't take the current locale into account; it will if you "
12611261"also set the :const:`LOCALE` flag."
@@ -1315,13 +1315,13 @@ msgstr ""
13151315"certaines fonctions C diront à votre programme que l'octet codant ``é`` doit "
13161316"être considéré comme une lettre. Définir l'option :const:`LOCALE` lors de la "
13171317"compilation d'une expression régulière fait que l'objet compilé résultant "
1318- "utilise ces fonctions C pour ``\\ w`` ; c'est plus lent mais cela permet à "
1319- "`` \\ w+`` de correspondre avec les mots français tel qu'attendu. "
1320- "L'utilisation de cette option est déconseillée en Python 3 car le mécanisme "
1321- "de locale est très peu fiable, il ne gère qu'une seule « culture » à la fois "
1322- "et il ne fonctionne qu'avec des locales 8 bits. La correspondance Unicode "
1323- "est déjà activée par défaut dans Python 3 pour les motifs Unicode (type "
1324- "*str*) et elle est capable de gérer différentes configurations de régions."
1318+ "utilise ces fonctions C pour ``\\ w`` ; c'est plus lent mais cela permet à `` "
1319+ "\\ w+`` de correspondre avec les mots français tel qu'attendu. L'utilisation "
1320+ "de cette option est déconseillée en Python 3 car le mécanisme de locale est "
1321+ "très peu fiable, il ne gère qu'une seule « culture » à la fois et il ne "
1322+ "fonctionne qu'avec des locales 8 bits. La correspondance Unicode est déjà "
1323+ "activée par défaut dans Python 3 pour les motifs Unicode (type *str*) et "
1324+ "elle est capable de gérer différentes configurations de régions."
13251325
13261326#: howto/regex.rst:605
13271327msgid ""
@@ -1594,8 +1594,8 @@ msgstr ""
15941594msgid ""
15951595"There are two subtleties you should remember when using this special "
15961596"sequence. First, this is the worst collision between Python's string "
1597- "literals and regular expression sequences. In Python's string literals, "
1598- "`` \\ b`` is the backspace character, ASCII value 8. If you're not using raw "
1597+ "literals and regular expression sequences. In Python's string literals, `` "
1598+ "\\ b`` is the backspace character, ASCII value 8. If you're not using raw "
15991599"strings, then Python will convert the ``\\ b`` to a backspace, and your RE "
16001600"won't match as you expect it to. The following example looks the same as our "
16011601"previous RE, but omits the ``'r'`` in front of the RE string. ::"
@@ -1612,8 +1612,8 @@ msgstr ""
16121612
16131613#: howto/regex.rst:774
16141614msgid ""
1615- "Second, inside a character class, where there's no use for this assertion, "
1616- "`` \\ b`` represents the backspace character, for compatibility with Python's "
1615+ "Second, inside a character class, where there's no use for this assertion, `` "
1616+ "\\ b`` represents the backspace character, for compatibility with Python's "
16171617"string literals."
16181618msgstr ""
16191619"Ensuite, dans une classe de caractères, où cette assertion n'a pas lieu "
@@ -1668,8 +1668,8 @@ msgid ""
16681668"Groups are marked by the ``'('``, ``')'`` metacharacters. ``'('`` and "
16691669"``')'`` have much the same meaning as they do in mathematical expressions; "
16701670"they group together the expressions contained inside them, and you can "
1671- "repeat the contents of a group with a repeating qualifier, such as ``*``, "
1672- "`` +``, ``?``, or ``{m,n}``. For example, ``(ab)*`` will match zero or more "
1671+ "repeat the contents of a group with a repeating qualifier, such as ``*``, `` "
1672+ "+``, ``?``, or ``{m,n}``. For example, ``(ab)*`` will match zero or more "
16731673"repetitions of ``ab``. ::"
16741674msgstr ""
16751675"Les groupes sont délimités par les métacaractères marqueurs ``'('`` et "
@@ -1789,8 +1789,8 @@ msgstr ""
17891789msgid ""
17901790"Perl 5 is well known for its powerful additions to standard regular "
17911791"expressions. For these new features the Perl developers couldn't choose new "
1792- "single-keystroke metacharacters or new special sequences beginning with "
1793- "`` \\ `` without making Perl's regular expressions confusingly different from "
1792+ "single-keystroke metacharacters or new special sequences beginning with `` "
1793+ "\\ `` without making Perl's regular expressions confusingly different from "
17941794"standard REs. If they chose ``&`` as a new metacharacter, for example, old "
17951795"expressions would be assuming that ``&`` was a regular character and "
17961796"wouldn't have escaped it by writing ``\\ &`` or ``[&]``."
@@ -1940,8 +1940,8 @@ msgid ""
19401940"name instead of the number. This is another Python extension: ``(?P=name)`` "
19411941"indicates that the contents of the group called *name* should again be "
19421942"matched at the current point. The regular expression for finding doubled "
1943- "words, ``\\ b(\\ w+)\\ s+\\ 1\\ b`` can also be written as ``\\ b(?"
1944- "P<word> \\ w+) \\ s +(?P=word)\\ b``::"
1943+ "words, ``\\ b(\\ w+)\\ s+\\ 1\\ b`` can also be written as ``\\ b(?P<word> \\ w+) \\ s "
1944+ "+(?P=word)\\ b``::"
19451945msgstr ""
19461946"La syntaxe des renvois dans une expression telle que ``(....)\\ 1`` fait "
19471947"référence au numéro du groupe. Il y a naturellement une variante qui utilise "
@@ -2110,11 +2110,11 @@ msgstr "Une assertion prédictive négative supprime toute cette confusion :"
21102110#: howto/regex.rst:1042
21112111msgid ""
21122112"``.*[.](?!bat$)[^.]*$`` The negative lookahead means: if the expression "
2113- "``bat`` doesn't match at this point, try the rest of the pattern; if "
2114- "``bat $`` does match, the whole pattern will fail. The trailing ``$`` is "
2115- "required to ensure that something like ``sample.batch``, where the extension "
2116- "only starts with ``bat``, will be allowed. The ``[^.]*`` makes sure that "
2117- "the pattern works when there are multiple dots in the filename."
2113+ "``bat`` doesn't match at this point, try the rest of the pattern; if ``bat "
2114+ "$`` does match, the whole pattern will fail. The trailing ``$`` is required "
2115+ "to ensure that something like ``sample.batch``, where the extension only "
2116+ "starts with ``bat``, will be allowed. The ``[^.]*`` makes sure that the "
2117+ "pattern works when there are multiple dots in the filename."
21182118msgstr ""
21192119"``.*[.](?!bat$)[^.]*$`` Cette assertion prédictive négative signifie : si "
21202120"l'expression ``bat`` ne correspond pas à cet emplacement, essaie le reste du "
@@ -2320,9 +2320,9 @@ msgstr ""
23202320msgid ""
23212321"If *replacement* is a string, any backslash escapes in it are processed. "
23222322"That is, ``\\ n`` is converted to a single newline character, ``\\ r`` is "
2323- "converted to a carriage return, and so forth. Unknown escapes such as "
2324- "`` \\ &`` are left alone. Backreferences, such as ``\\ 6``, are replaced with "
2325- "the substring matched by the corresponding group in the RE. This lets you "
2323+ "converted to a carriage return, and so forth. Unknown escapes such as `` "
2324+ "\\ &`` are left alone. Backreferences, such as ``\\ 6``, are replaced with the "
2325+ "substring matched by the corresponding group in the RE. This lets you "
23262326"incorporate portions of the original text in the resulting replacement "
23272327"string."
23282328msgstr ""
@@ -2357,9 +2357,9 @@ msgstr ""
23572357"par la syntaxe ``(?P<nom>....)``. ``\\ g<nom>`` utilise la sous-chaîne "
23582358"correspondante au groupe nommé ``nom`` et ``\\ g<numéro>`` utilise le numéro "
23592359"de groupe correspondant. ``\\ g<2>`` est donc l'équivalent de ``\\ 2``, mais "
2360- "n'est pas ambigu dans une chaîne de substitution telle que ``\\ g<2>0`` "
2361- "(`` \\ 20`` serait interprété comme une référence au groupe 20 et non comme "
2362- "une référence au groupe 2 suivie du caractère littéral ``'0'``). Les "
2360+ "n'est pas ambigu dans une chaîne de substitution telle que ``\\ g<2>0`` (`` "
2361+ "\\ 20`` serait interprété comme une référence au groupe 20 et non comme une "
2362+ "référence au groupe 2 suivie du caractère littéral ``'0'``). Les "
23632363"substitutions suivantes sont toutes équivalentes mais utilisent les trois "
23642364"variantes de la chaîne de remplacement. ::"
23652365
0 commit comments