.\" -*- coding: UTF-8 -*- '\" t .\" Copyright (C), 1995, Graeme W. Wilford. (Wilf.) .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" Wed Jun 14 16:10:28 BST 1995 Wilf. (G.Wilford@@ee.surrey.ac.uk) .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH re_comp 3 "20 juillet 2023" "Pages du manuel de Linux 6.05.01" .SH NOM re_comp, re_exec \- Fonctions BSD pour les expressions rationnelles (regex) .SH BIBLIOTHÈQUE Bibliothèque C standard (\fIlibc\fP, \fI\-lc\fP) .SH SYNOPSIS .nf \fB#define _REGEX_RE_COMP\fP \fB#include \fP \fB#include \fP .PP \fB[[obsolte]] char *re_comp(const char *\fP\fIregex\fP\fB);\fP \fB[[obsolte]] int re_exec(const char *\fP\fIchane\fP\fB);\fP .fi .SH DESCRIPTION La fonction \fBre_comp\fP() permet de compiler une expression rationnelle, termine par un caractre NULL et pointe par \fIregex\fP. Le motif compil occupe une zone de mmoire statique, le tampon de motif, qui sera crase par un autre appel \fBre_comp\fP(). Si \fIregex\fP vaut NULL, rien n'est effectu et le contenu du tampon de motif n'est pas altr. .PP \fBre_exec\fP() est utilis pour vrifier si la chane termine par un caractre NULL, pointe par \fIchane\fP, correspond au motif prcdemment compil par \fIregex\fP. .SH "VALEUR RENVOYÉE" \fBre_comp\fP() renvoie NULL s'il peut compiler correctement \fIregex\fP, sinon, il renvoie un pointeur sur le message d'erreur appropri. .PP \fBre_exec\fP() renvoie \fB1\fP si la correspondance est exacte, zro si elle choue. .SH ATTRIBUTS Pour une explication des termes utilisés dans cette section, consulter \fBattributes\fP(7). .TS allbox; lbx lb lb l l l. Interface Attribut Valeur T{ .na .nh \fBre_comp\fP(), \fBre_exec\fP() T} Sécurité des threads MT\-Unsafe .TE .sp 1 .SH STANDARDS None. .SH HISTORIQUE 4.3BSD. .PP Ces fonctions sont obsoltes. L'utilisation de celles documentes dans \fBregcomp\fP(3) est recommande la place. .SH "VOIR AUSSI" \fBregcomp\fP(3), \fBregex\fP(7), Manuel GNU pour les expressions rationnelles .PP .SH TRADUCTION La traduction française de cette page de manuel a été créée par #-#-#-#-# min-002-occurences.po (perkamon) #-#-#-#-#, Christophe Blaess , Stéphan Rafin , Thierry Vignaud , François Micaux, Alain Portal , Jean-Philippe Guérard , Jean-Luc Coulon (f5ibh) , Julien Cristau , Thomas Huriaux , Nicolas François , Florentin Duneau , Simon Paillard , Denis Barbier , David Prévot , Jean-Philippe MENGUAL , Jean-Pierre Giraud , #-#-#-#-# min-003-occurences.po (perkamon) #-#-#-#-#, Christophe Blaess , Stéphan Rafin , Thierry Vignaud , François Micaux, Alain Portal , Jean-Philippe Guérard , Jean-Luc Coulon (f5ibh) , Julien Cristau , Thomas Huriaux , Nicolas François , Florentin Duneau , Simon Paillard , Denis Barbier , David Prévot , Jean-Philippe MENGUAL , Jean-Pierre Giraud , #-#-#-#-# min-004-occurences.po (perkamon) #-#-#-#-#, Christophe Blaess , Stéphan Rafin , Thierry Vignaud , François Micaux, Alain Portal , Jean-Philippe Guérard , Jean-Luc Coulon (f5ibh) , Julien Cristau , Thomas Huriaux , Nicolas François , Florentin Duneau , Simon Paillard , Denis Barbier , David Prévot , Jean-Philippe MENGUAL , Jean-Pierre Giraud , #-#-#-#-# min-010-occurences.po (perkamon) #-#-#-#-#, Christophe Blaess , Stéphan Rafin , Thierry Vignaud , François Micaux, Alain Portal , Jean-Philippe Guérard , Jean-Luc Coulon (f5ibh) , Julien Cristau , Thomas Huriaux , Nicolas François , Florentin Duneau , Simon Paillard , Denis Barbier , David Prévot , Thomas Vincent , #-#-#-#-# min-020-occurences.po (perkamon) #-#-#-#-#, Christophe Blaess , Stéphan Rafin , Thierry Vignaud , François Micaux, Alain Portal , Jean-Philippe Guérard , Jean-Luc Coulon (f5ibh) , Julien Cristau , Thomas Huriaux , Nicolas François , Florentin Duneau , Simon Paillard , Denis Barbier , David Prévot , Jean-Philippe MENGUAL , Jean-Pierre Giraud , #-#-#-#-# min-100-occurences.po (perkamon) #-#-#-#-#, Christophe Blaess , Stéphan Rafin , Thierry Vignaud , François Micaux, Alain Portal , Jean-Philippe Guérard , Jean-Luc Coulon (f5ibh) , Julien Cristau , Thomas Huriaux , Nicolas François , Florentin Duneau , Simon Paillard , Denis Barbier , David Prévot , Jean-Philippe MENGUAL , Jean-Pierre Giraud et # . .PP Cette traduction est une documentation libre ; veuillez vous reporter à la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License version 3 .UE concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE. .PP Si vous découvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message à .MT debian-l10n-french@lists.debian.org .ME .