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
PatternMatcher
Guides
A Virtual Machine for the Pattern Matcher
Symbols
CompilePatternToBytecode
CreatePatternMatcherVirtualMachine
PatternBytecodeDisassemble
PatternBytecodeInformation
PatternBytecode
PatternBytecodeQ
PatternMatcherEnableTrace
PatternMatcherExecute
PatternMatcherMatch
PatternMatcherMatchQ
PatternMatcherReplace
PatternMatcherStep
PatternMatcherTraceEnabled
PatternMatcherTraceEnabledQ
PatternMatcherVirtualMachine
PatternToMatchFunction
DanielS`PatternMatcher`
P
a
t
t
e
r
n
B
y
t
e
c
o
d
e
Q
P
a
t
t
e
r
n
B
y
t
e
c
o
d
e
Q
[
x
]
r
e
t
u
r
n
s
T
r
u
e
i
f
x
i
s
a
v
a
l
i
d
P
a
t
t
e
r
n
B
y
t
e
c
o
d
e
[
…
]
o
b
j
e
c
t
,
a
n
d
F
a
l
s
e
o
t
h
e
r
w
i
s
e
.
Examples
(
1
)
Basic Examples
(
1
)
Compile a pattern to bytecode:
I
n
[
1
]
:
=
b
c
=
C
o
m
p
i
l
e
P
a
t
t
e
r
n
T
o
B
y
t
e
c
o
d
e
[
x
_
I
n
t
e
g
e
r
|
x
_
R
e
a
l
]
O
u
t
[
1
]
=
P
a
t
t
e
r
n
B
y
t
e
c
o
d
e
P
a
t
t
e
r
n
:
x
_
I
n
t
e
g
e
r
|
x
_
R
e
a
l
E
x
p
r
r
e
g
i
s
t
e
r
s
c
o
u
n
t
:
3
B
o
o
l
r
e
g
i
s
t
e
r
s
c
o
u
n
t
:
1
I
n
s
t
r
u
c
t
i
o
n
c
o
u
n
t
:
2
1
The object is a valid pattern bytecode:
I
n
[
2
]
:
=
P
a
t
t
e
r
n
B
y
t
e
c
o
d
e
Q
[
b
c
]
O
u
t
[
2
]
=
T
r
u
e
Other expressions are not valid:
I
n
[
3
]
:
=
P
a
t
t
e
r
n
B
y
t
e
c
o
d
e
Q
[
x
_
I
n
t
e
g
e
r
|
x
_
R
e
a
l
]
O
u
t
[
3
]
=
F
a
l
s
e
S
e
e
A
l
s
o
P
a
t
t
e
r
n
B
y
t
e
c
o
d
e
R
e
l
a
t
e
d
G
u
i
d
e
s
▪
A
V
i
r
t
u
a
l
M
a
c
h
i
n
e
f
o
r
t
h
e
P
a
t
t
e
r
n
M
a
t
c
h
e
r
"
"