Text Processing Services
************************

The modules described in this chapter provide a wide range of string
manipulation operations and other text processing services.

The "codecs" module described under Binary Data Services is also
highly relevant to text processing. In addition, see the documentation
for Python's built-in string type in Textsequenztyp – str.

* "string" --- Allgemeine Zeichenkettenoperationen

  * String-Konstanten

  * Benutzerdefinierte String-Formatierung

  * Syntax für Formatzeichenketten

    * Formatspezifikation Mini-Sprache

    * Formatierungsbeispiele

  * Template strings

  * Hilfsfunktionen

* "re" --- Regular expression operations

  * Regular Expression Syntax

  * Module Contents

    * Flags

    * Funktionen

    * Ausnahmen

  * Regular Expression Objects

  * Match Objects

  * Regular Expression Examples

    * Checking for a Pair

    * Simulating scanf()

    * search() 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

  * Junk heuristic

  * The "difflib" algorithm

  * Diff generation

  * Junk definition functions

  * SequenceMatcher objects

  * Beispiele

    * SequenceMatcher examples

    * 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

  * Init file

  * Line buffer

  * History file

  * History list

  * Startup hooks

  * Completion

  * Example

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