Skip to content
EntityQ1503724· pop 20· linked from 404 articles

模式匹配

Sign in to save

Also known as match operator

programming language construct for processing data conditionally on its structure

Wikidata facts

Show 5 more facts
topic's main category
Category:Pattern matching
Commons category
Pattern matching
Sources (3)

via Wikidata · CC0

Article · 中文

在计算机科学中,模式匹配是检查给定记号序列中,是否存在某种模式的组成部分的行为。与模式识别相反,匹配通常必须是精确的。模式通常具有序列或树状结构的形式。模式匹配的用途包括:输出一个模式在一个记号序列中的位置(如果有的话),输出匹配模式的一些组成部份,以及用一些其他的记号序列替换匹配模式(即搜索和替换)。

Abstract from DBpedia / Wikipedia · CC BY-SA