-
Notifications
You must be signed in to change notification settings - Fork 242
Closed
Description
Hello,
The method lineBreak()
contains a capturing group, which results in shifting of group numbers; the following test fails:
final VerbalExpression expression = VerbalExpression.regex().
lineBreak()
.capture().find("some").endCapture().then(" text")
.build();
assertEquals("some", expression.getText("\nsome text", 1));
Cheers
Metadata
Metadata
Assignees
Labels
No labels