The GitHub Actions job "Java CI" on commons-lang.git/master has failed.
Run started by GitHub user garydgregory (triggered by garydgregory).

Head commit for run:
9f7d3b5ec3aab40ee404a652495848213a608f01 / Piotr P. Karwasz 
<[email protected]>
Fix `WordUtils.wrap` for `wrapOn` matches different from one character (#1655)

`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/26005104347

With regards,
GitHub Actions via GitBox

Reply via email to