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:

    For the man who should loose me is dead,
    Fighting with the Duke in Flanders,
    In a pattern called a war.
    Christ! What are patterns for?
    Amy Lowell (1874–1925)

    it was older sure than this year’s cutting,
    Or even last year’s or the year’s before.
    The wood was gray and the bark warping off it
    And the pile somewhat sunken. Clematis
    Had wound strings round and round it like a bundle.
    Robert Frost (1874–1963)