Protected_Name to use when printing results.
Protected Optional_Optional top-level pattern to override count.
Protected_Patterns in this group.
Provides read access to the count of matches.
Provides read access to the name.
Provides read access to the patterns.
Provides read access to the count of matches within child patterns. This differs from the matchCount if a parent pattern is being used.
Group of patterns for concise reporting.
It's useful to group related patterns together when analysing music. For example, we could check for all so-called CRUs in one pass:
It's also possible to match a single pattern while highlighting particular special cases. For example, we could check for reverse rollups but highlight back rounds:
Here the matchCount is overridden by the supplied parent pattern. The submatchCount is the sum of child pattern matches.