pub fn validate_set2_class_at_end(
set1_len: usize,
set2_raw_len: usize,
set2_classes: &[CaseClassInfo],
) -> Result<(), String>Expand description
Check if SET2 ends with a case class and SET1 is longer than SET2 (before expansion).
GNU tr: “when translating with string1 longer than string2, the latter string
must not end with a character class”.
set1_len is the expanded length of SET1.
set2_raw_len is the expanded length of SET2 before extension to match SET1.
set2_classes are the case class positions in SET2.