Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.15.3, 1.16.1
Description
The optional pattern at the start of a group pattern turns out be "not optional", e.g.
Pattern.<String>begin("A").next(Pattern.<String>begin("B").optional().next("C")).next("D")
cannot match sequence "a1 c1 d1".