Fix parsing of expected arguments with short names

The condition used to detect variadic arguments would be hit if
the argument name was exactly 2 characters in length, since `indexOf`
would return -1 which happens to match the value of `name.length - 3`.

Use a regex since it's cleaner while we wait for `String#endsWith`.