This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

PatternSequence

PatternSequence[p1, p2, ...]
is a pattern object which represents a sequence of arguments matching p1, p2, ....
Replace a subsequence in a list:
Match a periodic pattern:
Replace a subsequence in a list:
In[1]:=
Click for copyable input
Out[1]=
 
Match a periodic pattern:
In[1]:=
Click for copyable input
Out[1]=
New in 6