@@ -6,14 +6,14 @@ msgstr ""
66"Project-Id-Version : Python 3\n "
77"Report-Msgid-Bugs-To : \n "
88"POT-Creation-Date : 2022-05-22 23:13+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]``."
@@ -1196,8 +1196,8 @@ msgid ""
11961196"Makes several escapes like ``\\ w``, ``\\ b``, ``\\ s`` and ``\\ d`` match only "
11971197"on ASCII characters with the respective property."
11981198msgstr ""
1199- "Transforme plusieurs échappements tels que ``\\ w``, ``\\ b``, ``\\ s`` et "
1200- "`` \\ d`` de manière à ce qu'ils ne correspondent qu'à des caractères ASCII "
1199+ "Transforme plusieurs échappements tels que ``\\ w``, ``\\ b``, ``\\ s`` et `` "
1200+ "\\ d`` de manière à ce qu'ils ne correspondent qu'à des caractères ASCII "
12011201"ayant la propriété demandée."
12021202
12031203#: howto/regex.rst:543
@@ -1257,8 +1257,8 @@ msgid ""
12571257"z]`` or ``[A-Z]`` are used in combination with the :const:`IGNORECASE` flag, "
12581258"they will match the 52 ASCII letters and 4 additional non-ASCII letters: "
12591259"'İ' (U+0130, Latin capital letter I with dot above), 'ı' (U+0131, Latin "
1260- "small letter dotless i), 'ſ' (U+017F, Latin small letter long s) and "
1261- "'K' (U +212A, Kelvin sign). ``Spam`` will match ``'Spam'``, ``'spam'``, "
1260+ "small letter dotless i), 'ſ' (U+017F, Latin small letter long s) and 'K' (U "
1261+ "+212A, Kelvin sign). ``Spam`` will match ``'Spam'``, ``'spam'``, "
12621262"``'spAM'``, or ``'ſpam'`` (the latter is matched only in Unicode mode). This "
12631263"lowercasing doesn't take the current locale into account; it will if you "
12641264"also set the :const:`LOCALE` flag."
@@ -1318,13 +1318,13 @@ msgstr ""
13181318"certaines fonctions C diront à votre programme que l'octet codant ``é`` doit "
13191319"être considéré comme une lettre. Définir l'option :const:`LOCALE` lors de la "
13201320"compilation d'une expression régulière fait que l'objet compilé résultant "
1321- "utilise ces fonctions C pour ``\\ w`` ; c'est plus lent mais cela permet à "
1322- "`` \\ w+`` de correspondre avec les mots français tel qu'attendu. "
1323- "L'utilisation de cette option est déconseillée en Python 3 car le mécanisme "
1324- "de locale est très peu fiable, il ne gère qu'une seule « culture » à la fois "
1325- "et il ne fonctionne qu'avec des locales 8 bits. La correspondance Unicode "
1326- "est déjà activée par défaut dans Python 3 pour les motifs Unicode (type "
1327- "*str*) et elle est capable de gérer différentes configurations de régions."
1321+ "utilise ces fonctions C pour ``\\ w`` ; c'est plus lent mais cela permet à `` "
1322+ "\\ w+`` de correspondre avec les mots français tel qu'attendu. L'utilisation "
1323+ "de cette option est déconseillée en Python 3 car le mécanisme de locale est "
1324+ "très peu fiable, il ne gère qu'une seule « culture » à la fois et il ne "
1325+ "fonctionne qu'avec des locales 8 bits. La correspondance Unicode est déjà "
1326+ "activée par défaut dans Python 3 pour les motifs Unicode (type *str*) et "
1327+ "elle est capable de gérer différentes configurations de régions."
13281328
13291329#: howto/regex.rst:605
13301330msgid ""
@@ -1597,8 +1597,8 @@ msgstr ""
15971597msgid ""
15981598"There are two subtleties you should remember when using this special "
15991599"sequence. First, this is the worst collision between Python's string "
1600- "literals and regular expression sequences. In Python's string literals, "
1601- "`` \\ b`` is the backspace character, ASCII value 8. If you're not using raw "
1600+ "literals and regular expression sequences. In Python's string literals, `` "
1601+ "\\ b`` is the backspace character, ASCII value 8. If you're not using raw "
16021602"strings, then Python will convert the ``\\ b`` to a backspace, and your RE "
16031603"won't match as you expect it to. The following example looks the same as our "
16041604"previous RE, but omits the ``'r'`` in front of the RE string. ::"
@@ -1615,8 +1615,8 @@ msgstr ""
16151615
16161616#: howto/regex.rst:774
16171617msgid ""
1618- "Second, inside a character class, where there's no use for this assertion, "
1619- "`` \\ b`` represents the backspace character, for compatibility with Python's "
1618+ "Second, inside a character class, where there's no use for this assertion, `` "
1619+ "\\ b`` represents the backspace character, for compatibility with Python's "
16201620"string literals."
16211621msgstr ""
16221622"Ensuite, dans une classe de caractères, où cette assertion n'a pas lieu "
@@ -1793,8 +1793,8 @@ msgstr ""
17931793msgid ""
17941794"Perl 5 is well known for its powerful additions to standard regular "
17951795"expressions. For these new features the Perl developers couldn't choose new "
1796- "single-keystroke metacharacters or new special sequences beginning with "
1797- "`` \\ `` without making Perl's regular expressions confusingly different from "
1796+ "single-keystroke metacharacters or new special sequences beginning with `` "
1797+ "\\ `` without making Perl's regular expressions confusingly different from "
17981798"standard REs. If they chose ``&`` as a new metacharacter, for example, old "
17991799"expressions would be assuming that ``&`` was a regular character and "
18001800"wouldn't have escaped it by writing ``\\ &`` or ``[&]``."
@@ -1944,8 +1944,8 @@ msgid ""
19441944"name instead of the number. This is another Python extension: ``(?P=name)`` "
19451945"indicates that the contents of the group called *name* should again be "
19461946"matched at the current point. The regular expression for finding doubled "
1947- "words, ``\\ b(\\ w+)\\ s+\\ 1\\ b`` can also be written as ``\\ b(?"
1948- "P<word> \\ w+) \\ s +(?P=word)\\ b``::"
1947+ "words, ``\\ b(\\ w+)\\ s+\\ 1\\ b`` can also be written as ``\\ b(?P<word> \\ w+) \\ s "
1948+ "+(?P=word)\\ b``::"
19491949msgstr ""
19501950"La syntaxe des renvois dans une expression telle que ``(....)\\ 1`` fait "
19511951"référence au numéro du groupe. Il y a naturellement une variante qui utilise "
@@ -2114,11 +2114,11 @@ msgstr "Une assertion prédictive négative supprime toute cette confusion :"
21142114#: howto/regex.rst:1042
21152115msgid ""
21162116"``.*[.](?!bat$)[^.]*$`` The negative lookahead means: if the expression "
2117- "``bat`` doesn't match at this point, try the rest of the pattern; if "
2118- "``bat $`` does match, the whole pattern will fail. The trailing ``$`` is "
2119- "required to ensure that something like ``sample.batch``, where the extension "
2120- "only starts with ``bat``, will be allowed. The ``[^.]*`` makes sure that "
2121- "the pattern works when there are multiple dots in the filename."
2117+ "``bat`` doesn't match at this point, try the rest of the pattern; if ``bat "
2118+ "$`` does match, the whole pattern will fail. The trailing ``$`` is required "
2119+ "to ensure that something like ``sample.batch``, where the extension only "
2120+ "starts with ``bat``, will be allowed. The ``[^.]*`` makes sure that the "
2121+ "pattern works when there are multiple dots in the filename."
21222122msgstr ""
21232123"``.*[.](?!bat$)[^.]*$`` Cette assertion prédictive négative signifie : si "
21242124"l'expression ``bat`` ne correspond pas à cet emplacement, essaie le reste du "
@@ -2324,9 +2324,9 @@ msgstr ""
23242324msgid ""
23252325"If *replacement* is a string, any backslash escapes in it are processed. "
23262326"That is, ``\\ n`` is converted to a single newline character, ``\\ r`` is "
2327- "converted to a carriage return, and so forth. Unknown escapes such as "
2328- "`` \\ &`` are left alone. Backreferences, such as ``\\ 6``, are replaced with "
2329- "the substring matched by the corresponding group in the RE. This lets you "
2327+ "converted to a carriage return, and so forth. Unknown escapes such as `` "
2328+ "\\ &`` are left alone. Backreferences, such as ``\\ 6``, are replaced with the "
2329+ "substring matched by the corresponding group in the RE. This lets you "
23302330"incorporate portions of the original text in the resulting replacement "
23312331"string."
23322332msgstr ""
@@ -2361,9 +2361,9 @@ msgstr ""
23612361"par la syntaxe ``(?P<nom>....)``. ``\\ g<nom>`` utilise la sous-chaîne "
23622362"correspondante au groupe nommé ``nom`` et ``\\ g<numéro>`` utilise le numéro "
23632363"de groupe correspondant. ``\\ g<2>`` est donc l'équivalent de ``\\ 2``, mais "
2364- "n'est pas ambigu dans une chaîne de substitution telle que ``\\ g<2>0`` "
2365- "(`` \\ 20`` serait interprété comme une référence au groupe 20 et non comme "
2366- "une référence au groupe 2 suivie du caractère littéral ``'0'``). Les "
2364+ "n'est pas ambigu dans une chaîne de substitution telle que ``\\ g<2>0`` (`` "
2365+ "\\ 20`` serait interprété comme une référence au groupe 20 et non comme une "
2366+ "référence au groupe 2 suivie du caractère littéral ``'0'``). Les "
23672367"substitutions suivantes sont toutes équivalentes mais utilisent les trois "
23682368"variantes de la chaîne de remplacement. ::"
23692369
0 commit comments