Use pattern match to support pattern matching of int, wildcard and variable.
Apply pattern match to integer
Apply pattern match to integer, matching the second case
Apply pattern match to integer, matching wildcard case
Use pattern matching in variable initializer
Apply pattern match to integer, matching int out of order
Apply pattern match to integer starting non-zero, matching the first
Apply pattern match to integer starting non-zero, matching second
Apply pattern match to integer starting non-zero, matching wildcard
Apply pattern match to integer case with gap, matching first
Apply pattern match to integer case with gap, matching second
Apply pattern match to integer case with gap, matching wildcard
Apply pattern match to negative integer case
Apply pattern match to negative integer case, matching the second
Apply pattern match to negative integer case, matching the wildcard
Apply pattern match to variable case, matching the variable expr