linesBetween
Returns the lines between the first match of start and the last match of end, exclusive.
Extension function on String.
Return
the lines between the boundaries, or an empty list if boundaries are not found
Parameters
start
the regex marking the start boundary
end
the regex marking the end boundary
Returns the elements between the first match of start and the last match of end, exclusive.
Extension function on List<String>.
Return
the elements between the boundaries, or an empty list if boundaries are not found
Parameters
start
the regex marking the start boundary
end
the regex marking the end boundary