Livre sur PHP - Fonctions des bibliothèques de PHP


Catégories > STANDARD Functions > Perl compatible Regular Expression functions


  preg_grep Retourne dans un tableau les éléments d'un tableau passé à l'appel correspondant à un motif donné
    array preg_grep( string pattern, array input )
  preg_match Retourne dans un tableau les correspondances entre un motif et une chaîne donnée
    int preg_match( string pattern, string subject, array [ matches ] )
  preg_match_all Retourne dans un tableau toutes les correspondances entre un motif et une chaîne donnée
    int preg_match_all( string pattern, string subject, array matches, int [ order ] )
  preg_quote Place un caractère d'échappement devant tout caractère faisant partie de la syntaxe regex
    string preg_quote( string str )
  preg_replace Recherche/remplacement basé sur un motif
    mixed preg_replace( mixed pattern, mixed replacement, mixed subject )
  preg_split Découpe d'une chaine suivant un motif
    array preg_split( string pattern, string subject, int [ limit ] )



Dernière mise à jour de la page le 13/10/1999 à 21:49:58