match data class rewritten. matching support for sequences and char classes