Parse : Fix _get_parts.

This commit is contained in:
Dmitry Voronin 2023-12-30 22:02:16 +03:00
parent 908c157eff
commit 57b1bf98f9

View file

@ -95,5 +95,5 @@ function parse_alnum() {
# Get name parts.
# Usage: _get_parts <STRING>
function _get_parts() {
parse_simplify "${*}" | sed -e "s/[A-Z]/\n&/g" -e "s/[${_PARSE_SPLIT_CHARS}]/\n/g" | sed -e "1d" -e "/^$/d"
parse_simplify "${*}" | sed -e "s/[A-Z]/\n&/g" -e "s/[${_PARSE_SPLIT_CHARS}]/\n/g" | sed -e "/^$/d"
}