Parse : Fix _get_parts.
This commit is contained in:
parent
908c157eff
commit
57b1bf98f9
|
@ -95,5 +95,5 @@ function parse_alnum() {
|
||||||
# Get name parts.
|
# Get name parts.
|
||||||
# Usage: _get_parts <STRING>
|
# Usage: _get_parts <STRING>
|
||||||
function _get_parts() {
|
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"
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue