The GitHub Actions job "Java CI" on commons-lang.git/fix/pattern-length has 
failed.
Run started by GitHub user ppkarwasz (triggered by ppkarwasz).

Head commit for run:
8dffc25a84621762ff23a4b588ac510de1057a3a / Piotr P. Karwasz 
<[email protected]>
Fix `WordUtils.wrap` for `wrapOn` matches different from one character

`WordUtils.wrap` advanced the offset by a single character past each `wrapOn` 
match, assuming the separator is always exactly one character long:

 - When the `wrapOn` regex matched several characters, the surplus separator 
characters were left in the wrapped output instead of being consumed,
 - When the `wrapOn` regex matched zero characters, one additional character 
was consumed.

Now it tracks the end offset of each match and resume from there, so that 
separators of any length, including zero-width matches, are skipped correctly.

Report URL: https://github.com/apache/commons-lang/actions/runs/26003246763

With regards,
GitHub Actions via GitBox

Reply via email to