Services de Manipulation de Texte
*********************************

Les modules décrits dans ce chapitre fournissent un large ensemble
d'opérations de manipulation sur les chaînes de caractères et le texte
en général.

Le module "codecs" documenté dans Services autour des Données Binaires
est aussi très pertinent pour la manipulation de texte. Consultez
aussi la documentation du type *str* natif Python dans Type Séquence
de Texte — str.

* "string" --- Common string operations

  * Chaînes constantes

  * Custom string formatting

  * Format string syntax

    * Format specification mini-language

    * Exemples de formats

  * Template strings ($-strings)

  * Fonctions d'assistance

* "string.templatelib" --- Support for template string literals

  * Template strings

  * Types

  * Fonctions d'assistance

* "re" --- Regular expression operations

  * Regular expression syntax

  * Module contents

    * Flags

    * Fonctions

    * Exceptions

  * Regular expression objects

  * Match objects

  * Regular expression examples

    * Checking for a pair

    * Simuler *scanf()*

    * search() vs. prefixmatch()

    * prefixmatch() vs. match()

    * Making a phonebook

    * Text munging

    * Finding all adverbs

    * Finding all adverbs and their positions

    * Raw string notation

    * Writing a tokenizer

* "difflib" --- Helpers for computing deltas

  * SequenceMatcher objects

  * SequenceMatcher examples

  * Differ objects

  * Differ example

  * A command-line interface to difflib

  * ndiff example

* "textwrap" --- Text wrapping and filling

* "unicodedata" --- Unicode Database

* "stringprep" --- Internet String Preparation

* "readline" --- GNU readline interface

  * Fichier d'initialisation

  * Tampon de ligne

  * Fichier d'historique

  * Liste d'historique

  * Fonctions de rappel au démarrage

  * Complétion

  * Exemple

* "rlcompleter" --- Completion function for GNU readline
