Moved pattern match to examples directory.