PRODUCTS
PURCHASE
FOR USERS
COMPANY
OUR SITES
DOCUMENTATION CENTER SEARCH
Mathematica
>
Patterns
>
Built-in
Mathematica
Symbol
Patterns and Transformation Rules
Repeated Patterns
Tutorials »
|
Repeated
BlankNullSequence
PatternSequence
Longest
Shortest
StringExpression
See Also »
|
Patterns
String Patterns
More About »
RepeatedNull
(...)
p
...
or
RepeatedNull
[
p
]
is a pattern object which represents a sequence of zero or more expressions, each matching
p
.
MORE INFORMATION
p
...
can appear as an argument of any function. It represents any sequence of arguments.
All the objects in the sequence represented by
p
...
must match
p
, but the objects need not be identical.
The expression
p
may, but need not, itself be a pattern object.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Replace any list of zero or more
a
's by
x
:
In[1]:=
Out[1]=
Replace any list of zero or more
f
's with one argument:
In[1]:=
Out[1]=
SEE ALSO
Repeated
BlankNullSequence
PatternSequence
Longest
Shortest
StringExpression
TUTORIALS
Patterns and Transformation Rules
Repeated Patterns
MORE ABOUT
Patterns
String Patterns
RELATED LINKS
NKS|Online
(
A New Kind of Science
)
New in 1
© 2008 Wolfram Research, Inc.