Pattern Matching - Pattern Matching and Strings

Pattern Matching and Strings

By far the most common form of pattern matching involves strings of characters. In many programming languages, a particular syntax of strings is used to represent regular expressions, which are patterns describing string characters.

However, it is possible to perform some string pattern matching within the same framework that has been discussed throughout this article.

Read more about this topic:  Pattern Matching

Famous quotes containing the words pattern and/or strings:

    “Although the pattern prevailed,
    The breaks were everywhere. That she could think
    Of no thread capable of the necessary
    Sew-work.”
    —Gwendolyn Brooks (b. 1917)

    “How have you left the ancient love
    That bards of old enjoyed in you!
    The languid strings do scarcely move!
    The sound is forced, the notes are few!”
    —William Blake (1757–1827)