(int i)
| 1630 | /// |
| 1631 | /// true if character at i-th position in the `search` string is a newline |
| 1632 | private boolean isNewline(int i) { |
| 1633 | char nextChar = search.charAt(i); |
| 1634 | |
| 1635 | return nextChar == '\n' || nextChar == '\r' || nextChar == '\u0085' || |
| 1636 | nextChar == '\u2028' || nextChar == '\u2029'; |
| 1637 | } |
| 1638 | |
| 1639 | /// Compares two characters. |
| 1640 | /// |
no test coverage detected