Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
Patterns
Guides
Guide
MainGuide
Tech Notes
Match & Replace
Symbols
MatchBindings
MatchParts
MultiwayReplace
NameValuePattern
PatternMatch
Guide (internal)
“Similar to mitochondria, being a powerhouse of the
C
e
l
l
, pattern matching pacletizes outside of the Kernel.”
Match object
M
a
t
c
h
S
u
m
— alternative matches
M
a
t
c
h
P
r
o
d
u
c
t
— multiple matches for a single pattern
M
a
t
c
h
P
a
r
t
— hierarchical matches for different pattern parts
M
a
t
c
h
V
a
l
u
e
s
— explicit match values
Match functions
M
a
t
c
h
A
p
p
l
y
— apply a match to an expression with pattern objects
M
a
t
c
h
E
x
p
a
n
d
— expand a match into a sum of products
M
a
t
c
h
B
i
n
d
i
n
g
s
— extract patten symbol bindings from a match
Match constructors
P
a
t
t
e
r
n
M
a
t
c
h
— match a pattern against an expression and return a lazy match object
Match prelude
P
a
t
t
e
r
n
M
a
t
c
h
Q
—
M
a
t
c
h
Q
M
a
t
c
h
R
e
p
l
a
c
e
—
R
e
p
l
a
c
e
M
a
t
c
h
R
e
p
l
a
c
e
A
l
l
—
R
e
p
l
a
c
e
A
l
l
M
a
t
c
h
R
e
p
l
a
c
e
R
e
p
e
a
t
e
d
—
R
e
p
l
a
c
e
R
e
p
e
a
t
e
d
M
a
t
c
h
R
e
p
l
a
c
e
L
i
s
t
—
R
e
p
l
a
c
e
L
i
s
t
M
a
t
c
h
P
o
s
i
t
i
o
n
—
P
o
s
i
t
i
o
n
M
a
t
c
h
C
a
s
e
s
—
C
a
s
e
s
M
a
t
c
h
P
o
s
i
t
i
o
n
B
i
n
d
i
n
g
s
— bindings
Experimental
F
i
n
d
P
a
t
t
e
r
n
I
n
s
t
a
n
c
e
— find expressions matching a given pattern
Pattern instance is an expression without pattern primitives or an expression that can only match itself.
Subpattern of a pattern is a pattern matching only expressions that also match a parent pattern
U
n
i
f
y
P
a
t
t
e
r
n
s
— bidirectional pattern unification
"
"