Details
-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
5.6
-
None
-
None
Description
There is bug in RegexBasedPathToMetadataInferrer#relativeLocation method in catch block.
If string do not contain all groups specified in regexp pattern, matcher.end(matcher.groupCount()) returns 0 instead of index number after last group. It is caused by matcher.groupCount() that returns number of all groups specified in pattern, but
matcher.end([groupNumber]) looks into array where are present only groups that exists in parsed string.
Checklists
Acceptance criteria