How to input a trope structure

The different tropes are labeled from 1 to 35.

In order to prescribe the trope structure,

  1. either a comma-separated list of 6 trope numbers from the set{1,2,…,35} must be input describing the complete trope structure of a tone row, e.g.
    1,2,7,13,11,2
  2. or a part of the trope structure of a tone row must be input, e.g.
    2,7
    which is a trope structure of length 2.
  3. or a blank-separated list of trope structures as in 2. must be input. E.g.
    1,2 7 13
    which consists of three structures of length 2, 1 and 1. Using AND demands that all the different parts must simultaneously occur in the trope structure of a tone row, whereas using OR at least one of these parts must occur in the trope structure of a tone row.
  4. It is also possible to replace the occurrence of a single (numerical) digit by a dot . or by
    \d
    of exactly two (numerical) digits by two dots .. or by
    \d\d
    of arbitrary many digits by .* or by
    \d*.
Searching for a trope structure finds
Database on tone rows and tropes
harald.fripertinger "at" uni-graz.at
January 2, 2019