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 was her stern necessity: all things
Are of one pattern made; bird, beast, and flower,
Deceive us, seeming to be many things,
And are but one. Beheld far off, they differ
As God and devil; bring them to the mind,
They dull its edge with their monotony.”
—Ralph Waldo Emerson (18031882)
“Loves the only thing Ive thought of or read about since I was knee-high. Thats what I always dreamed of, of meeting somebody and falling in love. And when that remarkable thing happened, I was going to recite poetry to her for hours about how her hearts an angels wing and her hair the strings of a heavenly harp. Instead I got drunk and hollered at her and called her a harpy.”
—Ben Hecht (18931964)