Implement metacharacter {m,n}.