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:

    In this lucid and flexible pattern only one thing remained always stationary, but this fallacy went unnoticed by Martha. The blind spot was the victim. The victim showed no signs of life before being deprived of it. If anything, the corpse which had to be moved and handled before burial seemed more active than its biological predecessor.
    Vladimir Nabokov (1899–1977)

    There are strings in the human heart that had better not be vibrated.
    Charles Dickens (1812–1870)