Matchers are given a row string using match, which should immediately
return whether or not the row string has matched.
An internal matchCount should log a meaningful count of the matches
that have occurred.
Matchers should provide a text template so their results can be output.
The Pattern class is the simplest matcher implemented so far,
allowing simple patterns of bells to be matched at the start or end of rows.
A more sophisticated matcher might derive from AbstractScheme to
perform a full musical analysis of a touch.
Base for classes that match rows for music
Matchers are given a row string using match, which should immediately return whether or not the row string has matched. An internal matchCount should log a meaningful count of the matches that have occurred. Matchers should provide a
texttemplate so their results can be output.The Pattern class is the simplest matcher implemented so far, allowing simple patterns of bells to be matched at the start or end of rows. A more sophisticated matcher might derive from AbstractScheme to perform a full musical analysis of a touch.