Port of jMatch3 to dart