Fail with an exception when tala pattern is zero length