list pattern support for units

see issue #104