Added test for optional regex capture group handling. Corrected behaviour of JdkPatternArgumentMatcher to pass null for Argument offset rather than -1 for omitted optional parameter.