Fix #317.  Add support for [m, ]m, [M, ]M.