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:
“It is just possible that the tensions in a novel of murder are the simplest and yet most complete pattern of the tensions on which we live in this generation.”
—Raymond Chandler (18881959)
“What drivel it all is!... A string of words called religion. Another string of words called philosophy. Half a dozen other strings called political ideals. And all the words either ambiguous or meaningless. And people getting so excited about them theyll murder their neighbours for using a word they dont happen to like. A word that probably doesnt mean as much as a good belch. Just a noise without even the excuse of gas on the stomach.”
—Aldous Huxley (18941963)