pitchtools.is_alphabetic_accidental_abbreviation

abjad.tools.pitchtools.is_alphabetic_accidental_abbreviation.is_alphabetic_accidental_abbreviation(expr)[source]

New in version 2.0.

True when expr is an alphabetic accidental abbrevation. Otherwise false:

abjad> pitchtools.is_alphabetic_accidental_abbreviation('tqs')
True

The regex ^([s]{1,2}|[f]{1,2}|t?q?[fs])!?$ underlies this predicate.

Return boolean.

This Page