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

Documentation / Mathematica / Built-in Functions / Programming / Pattern Matching /

BlankSequence

FilledSmallSquare __ (two _ characters) or BlankSequence[ ] is a pattern object that can stand for any sequence of one or more Mathematica expressions.

FilledSmallSquare __h or BlankSequence[h] can stand for any sequence of one or more expressions, all of which have head h.

FilledSmallSquare See notes for BlankNullSequence.

FilledSmallSquare See Section 2.3.8.

FilledSmallSquare New in Version 1.

Further Examples